diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-11-21 23:59:25 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-11-21 23:59:25 +0200 |
commit | 9844bfc9b776b00c56dd389bfe5fb4807b189d59 (patch) | |
tree | 6586ec701f0396dc931049e236be1149782880b8 /tests/data | |
parent | ab3e32ad97e1c2143560ceb1aafb7c7bb85cfdcc (diff) | |
download | librpm-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.spec | 23 |
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 |