summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/file-conflicts/fb.spec
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-18 14:06:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-18 14:06:59 +0000
commita03bae98662e36648ee8005656b09c03aa0c4d33 (patch)
tree1d6fed1d043fdf5412707596afe4d1f0b017b736 /t/data/SPECS/file-conflicts/fb.spec
parent3fd42683ec8785f5b37210d09587a100ba8f0b92 (diff)
downloadurpmi-a03bae98662e36648ee8005656b09c03aa0c4d33.tar
urpmi-a03bae98662e36648ee8005656b09c03aa0c4d33.tar.gz
urpmi-a03bae98662e36648ee8005656b09c03aa0c4d33.tar.bz2
urpmi-a03bae98662e36648ee8005656b09c03aa0c4d33.tar.xz
urpmi-a03bae98662e36648ee8005656b09c03aa0c4d33.zip
add tests for %ghost conflicts (which should be allowed)
Diffstat (limited to 't/data/SPECS/file-conflicts/fb.spec')
-rw-r--r--t/data/SPECS/file-conflicts/fb.spec22
1 files changed, 22 insertions, 0 deletions
diff --git a/t/data/SPECS/file-conflicts/fb.spec b/t/data/SPECS/file-conflicts/fb.spec
new file mode 100644
index 00000000..6fc6e4ef
--- /dev/null
+++ b/t/data/SPECS/file-conflicts/fb.spec
@@ -0,0 +1,22 @@
+Summary: x
+Name: fb
+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/etc
+ln -s fb $RPM_BUILD_ROOT/etc/foo
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%ghost /etc/foo