From 9787a9b8236fd9aab9c6538cd9e5125a3ec3839c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 23 Jan 2008 16:45:54 +0000 Subject: add a test case: conflicting manpages --- t/data/SPECS/file-conflicts/h.spec | 23 +++++++++++++++++++++++ t/data/SPECS/file-conflicts/i.spec | 23 +++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 t/data/SPECS/file-conflicts/h.spec create mode 100644 t/data/SPECS/file-conflicts/i.spec (limited to 't/data') diff --git a/t/data/SPECS/file-conflicts/h.spec b/t/data/SPECS/file-conflicts/h.spec new file mode 100644 index 00000000..90de1e35 --- /dev/null +++ b/t/data/SPECS/file-conflicts/h.spec @@ -0,0 +1,23 @@ +Summary: x +Name: h +Version: 1 +Release: 1 +License: x +Group: x +Url: x +BuildArch: noarch + +%description +x + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/usr/share/man +echo h > $RPM_BUILD_ROOT/usr/share/man/foo + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +/usr/share/man/foo* + diff --git a/t/data/SPECS/file-conflicts/i.spec b/t/data/SPECS/file-conflicts/i.spec new file mode 100644 index 00000000..47e2c3fc --- /dev/null +++ b/t/data/SPECS/file-conflicts/i.spec @@ -0,0 +1,23 @@ +Summary: x +Name: i +Version: 1 +Release: 1 +License: x +Group: x +Url: x +BuildArch: noarch + +%description +x + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/usr/share/man +echo i > $RPM_BUILD_ROOT/usr/share/man/foo + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +/usr/share/man/foo* + -- cgit v1.2.1