summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/ordering-scriptlets
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-04-24 19:34:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-04-24 19:34:32 +0000
commit4df7583caa71a35d6d68c373fc0c62d1be6d955b (patch)
treebddf36169b314d82ff20036dea7e47fa4fec5bcd /t/data/SPECS/ordering-scriptlets
parent7a606ec3537b2f465f8e06e99b445c756bfcca8f (diff)
downloadurpmi-4df7583caa71a35d6d68c373fc0c62d1be6d955b.tar
urpmi-4df7583caa71a35d6d68c373fc0c62d1be6d955b.tar.gz
urpmi-4df7583caa71a35d6d68c373fc0c62d1be6d955b.tar.bz2
urpmi-4df7583caa71a35d6d68c373fc0c62d1be6d955b.tar.xz
urpmi-4df7583caa71a35d6d68c373fc0c62d1be6d955b.zip
re-sync after the big svn loss
Diffstat (limited to 't/data/SPECS/ordering-scriptlets')
-rw-r--r--t/data/SPECS/ordering-scriptlets/ash_1.spec24
-rw-r--r--t/data/SPECS/ordering-scriptlets/ash_2.spec13
-rw-r--r--t/data/SPECS/ordering-scriptlets/requires_post_1.spec16
-rw-r--r--t/data/SPECS/ordering-scriptlets/requires_post_2.spec13
-rw-r--r--t/data/SPECS/ordering-scriptlets/requires_postun_1.spec16
-rw-r--r--t/data/SPECS/ordering-scriptlets/requires_postun_2.spec13
-rw-r--r--t/data/SPECS/ordering-scriptlets/requires_pre_1.spec16
-rw-r--r--t/data/SPECS/ordering-scriptlets/requires_pre_2.spec13
-rw-r--r--t/data/SPECS/ordering-scriptlets/requires_preun_1.spec16
-rw-r--r--t/data/SPECS/ordering-scriptlets/requires_preun_2.spec13
10 files changed, 153 insertions, 0 deletions
diff --git a/t/data/SPECS/ordering-scriptlets/ash_1.spec b/t/data/SPECS/ordering-scriptlets/ash_1.spec
new file mode 100644
index 00000000..343a6e66
--- /dev/null
+++ b/t/data/SPECS/ordering-scriptlets/ash_1.spec
@@ -0,0 +1,24 @@
+Summary: ordering_ash
+Name: ordering_ash
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+Provides: /bin/ash
+BuildRequires: ash
+BuildRoot: %{_tmppath}/%{name}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -D /bin/ash $RPM_BUILD_ROOT/bin/ash
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%description
+x
+
+%files
+%defattr(-,root,root)
+/bin/*
diff --git a/t/data/SPECS/ordering-scriptlets/ash_2.spec b/t/data/SPECS/ordering-scriptlets/ash_2.spec
new file mode 100644
index 00000000..a6dbebad
--- /dev/null
+++ b/t/data/SPECS/ordering-scriptlets/ash_2.spec
@@ -0,0 +1,13 @@
+Summary: ordering_ash
+Name: ordering_ash
+Version: 2
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%files
diff --git a/t/data/SPECS/ordering-scriptlets/requires_post_1.spec b/t/data/SPECS/ordering-scriptlets/requires_post_1.spec
new file mode 100644
index 00000000..3603f6a6
--- /dev/null
+++ b/t/data/SPECS/ordering-scriptlets/requires_post_1.spec
@@ -0,0 +1,16 @@
+Summary: requires_post
+Name: requires_post
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%post -p /bin/ash
+echo "%post is running ok"
+
+%files
diff --git a/t/data/SPECS/ordering-scriptlets/requires_post_2.spec b/t/data/SPECS/ordering-scriptlets/requires_post_2.spec
new file mode 100644
index 00000000..bf31cabd
--- /dev/null
+++ b/t/data/SPECS/ordering-scriptlets/requires_post_2.spec
@@ -0,0 +1,13 @@
+Summary: requires_post
+Name: requires_post
+Version: 2
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%files
diff --git a/t/data/SPECS/ordering-scriptlets/requires_postun_1.spec b/t/data/SPECS/ordering-scriptlets/requires_postun_1.spec
new file mode 100644
index 00000000..8a9dc0fb
--- /dev/null
+++ b/t/data/SPECS/ordering-scriptlets/requires_postun_1.spec
@@ -0,0 +1,16 @@
+Summary: requires_postun
+Name: requires_postun
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%postun -p /bin/ash
+echo "%postun is running ok"
+
+%files
diff --git a/t/data/SPECS/ordering-scriptlets/requires_postun_2.spec b/t/data/SPECS/ordering-scriptlets/requires_postun_2.spec
new file mode 100644
index 00000000..d3a14355
--- /dev/null
+++ b/t/data/SPECS/ordering-scriptlets/requires_postun_2.spec
@@ -0,0 +1,13 @@
+Summary: requires_postun
+Name: requires_postun
+Version: 2
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%files
diff --git a/t/data/SPECS/ordering-scriptlets/requires_pre_1.spec b/t/data/SPECS/ordering-scriptlets/requires_pre_1.spec
new file mode 100644
index 00000000..cc5e9430
--- /dev/null
+++ b/t/data/SPECS/ordering-scriptlets/requires_pre_1.spec
@@ -0,0 +1,16 @@
+Summary: requires_pre
+Name: requires_pre
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%pre -p /bin/ash
+echo "%pre is running ok"
+
+%files
diff --git a/t/data/SPECS/ordering-scriptlets/requires_pre_2.spec b/t/data/SPECS/ordering-scriptlets/requires_pre_2.spec
new file mode 100644
index 00000000..93ce9f0d
--- /dev/null
+++ b/t/data/SPECS/ordering-scriptlets/requires_pre_2.spec
@@ -0,0 +1,13 @@
+Summary: requires_pre
+Name: requires_pre
+Version: 2
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%files
diff --git a/t/data/SPECS/ordering-scriptlets/requires_preun_1.spec b/t/data/SPECS/ordering-scriptlets/requires_preun_1.spec
new file mode 100644
index 00000000..9b0d6d90
--- /dev/null
+++ b/t/data/SPECS/ordering-scriptlets/requires_preun_1.spec
@@ -0,0 +1,16 @@
+Summary: requires_preun
+Name: requires_preun
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%preun -p /bin/ash
+echo "%preun is running ok"
+
+%files
diff --git a/t/data/SPECS/ordering-scriptlets/requires_preun_2.spec b/t/data/SPECS/ordering-scriptlets/requires_preun_2.spec
new file mode 100644
index 00000000..619f3576
--- /dev/null
+++ b/t/data/SPECS/ordering-scriptlets/requires_preun_2.spec
@@ -0,0 +1,13 @@
+Summary: requires_preun
+Name: requires_preun
+Version: 2
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%files