diff options
Diffstat (limited to 't/data/SPECS/obsolete-and-conflict')
-rw-r--r-- | t/data/SPECS/obsolete-and-conflict/a.spec | 24 | ||||
-rw-r--r-- | t/data/SPECS/obsolete-and-conflict/b.spec | 26 | ||||
-rw-r--r-- | t/data/SPECS/obsolete-and-conflict/c.spec | 24 |
3 files changed, 74 insertions, 0 deletions
diff --git a/t/data/SPECS/obsolete-and-conflict/a.spec b/t/data/SPECS/obsolete-and-conflict/a.spec new file mode 100644 index 00000000..9be9bda4 --- /dev/null +++ b/t/data/SPECS/obsolete-and-conflict/a.spec @@ -0,0 +1,24 @@ +Summary: a +Name: a +Version: 1 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%description +x + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/etc +echo foo > $RPM_BUILD_ROOT/etc/foo +echo bar > $RPM_BUILD_ROOT/etc/bar + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +/etc/* diff --git a/t/data/SPECS/obsolete-and-conflict/b.spec b/t/data/SPECS/obsolete-and-conflict/b.spec new file mode 100644 index 00000000..30413107 --- /dev/null +++ b/t/data/SPECS/obsolete-and-conflict/b.spec @@ -0,0 +1,26 @@ +Summary: b +Name: b +Version: 1 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} +Provides: a > 1 +Obsoletes: a <= 1 +Requires: c + +%description +x + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/etc +echo foo > $RPM_BUILD_ROOT/etc/foo + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +/etc/* diff --git a/t/data/SPECS/obsolete-and-conflict/c.spec b/t/data/SPECS/obsolete-and-conflict/c.spec new file mode 100644 index 00000000..c40bb3b6 --- /dev/null +++ b/t/data/SPECS/obsolete-and-conflict/c.spec @@ -0,0 +1,24 @@ +Summary: c +Name: c +Version: 1 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} +Conflicts: a <= 1 + +%description +x + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/etc +echo bar > $RPM_BUILD_ROOT/etc/bar + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +/etc/* |