summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-11-21 23:59:25 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-11-21 23:59:25 +0200
commit9844bfc9b776b00c56dd389bfe5fb4807b189d59 (patch)
tree6586ec701f0396dc931049e236be1149782880b8 /tests/data
parentab3e32ad97e1c2143560ceb1aafb7c7bb85cfdcc (diff)
downloadlibrpm-tizen-9844bfc9b776b00c56dd389bfe5fb4807b189d59.tar.gz
librpm-tizen-9844bfc9b776b00c56dd389bfe5fb4807b189d59.tar.bz2
librpm-tizen-9844bfc9b776b00c56dd389bfe5fb4807b189d59.zip
Add some basic tests for file conflict behavior
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/SPECS/conflicttest.spec23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/data/SPECS/conflicttest.spec b/tests/data/SPECS/conflicttest.spec
new file mode 100644
index 000000000..894b63210
--- /dev/null
+++ b/tests/data/SPECS/conflicttest.spec
@@ -0,0 +1,23 @@
+Name: conflict%{pkg}
+Version: 1.0
+Release: 1
+Summary: Testing file conflict behavior
+
+Group: Testing
+License: GPL
+BuildArch: noarch
+
+%description
+%{summary}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}
+echo "%{filedata}" > $RPM_BUILD_ROOT/%{_datadir}/my.version
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%{_datadir}/my.version