From 4df7583caa71a35d6d68c373fc0c62d1be6d955b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 24 Apr 2007 19:34:32 +0000 Subject: re-sync after the big svn loss --- t/data/SPECS/ordering-scriptlets/ash_1.spec | 24 ++++++++++++++++++++++ t/data/SPECS/ordering-scriptlets/ash_2.spec | 13 ++++++++++++ .../SPECS/ordering-scriptlets/requires_post_1.spec | 16 +++++++++++++++ .../SPECS/ordering-scriptlets/requires_post_2.spec | 13 ++++++++++++ .../ordering-scriptlets/requires_postun_1.spec | 16 +++++++++++++++ .../ordering-scriptlets/requires_postun_2.spec | 13 ++++++++++++ .../SPECS/ordering-scriptlets/requires_pre_1.spec | 16 +++++++++++++++ .../SPECS/ordering-scriptlets/requires_pre_2.spec | 13 ++++++++++++ .../ordering-scriptlets/requires_preun_1.spec | 16 +++++++++++++++ .../ordering-scriptlets/requires_preun_2.spec | 13 ++++++++++++ 10 files changed, 153 insertions(+) create mode 100644 t/data/SPECS/ordering-scriptlets/ash_1.spec create mode 100644 t/data/SPECS/ordering-scriptlets/ash_2.spec create mode 100644 t/data/SPECS/ordering-scriptlets/requires_post_1.spec create mode 100644 t/data/SPECS/ordering-scriptlets/requires_post_2.spec create mode 100644 t/data/SPECS/ordering-scriptlets/requires_postun_1.spec create mode 100644 t/data/SPECS/ordering-scriptlets/requires_postun_2.spec create mode 100644 t/data/SPECS/ordering-scriptlets/requires_pre_1.spec create mode 100644 t/data/SPECS/ordering-scriptlets/requires_pre_2.spec create mode 100644 t/data/SPECS/ordering-scriptlets/requires_preun_1.spec create mode 100644 t/data/SPECS/ordering-scriptlets/requires_preun_2.spec (limited to 't/data/SPECS/ordering-scriptlets') 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 -- cgit v1.2.1