summaryrefslogtreecommitdiffstats
path: root/tests/bidon.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-10-13 14:05:18 +0200
committerRemi Collet <remi@php.net>2023-10-13 14:05:18 +0200
commit2b84fa512895a69d9a7f85f3b9fc1297bfb53556 (patch)
tree2e62a1d0f94bf14504cd688b7312e7715abd12e6 /tests/bidon.spec
parent393b64580b99cbca00d7ea752b56708b3f9f6979 (diff)
add spec file for test rpm
Diffstat (limited to 'tests/bidon.spec')
-rw-r--r--tests/bidon.spec37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/bidon.spec b/tests/bidon.spec
new file mode 100644
index 0000000..3f76b64
--- /dev/null
+++ b/tests/bidon.spec
@@ -0,0 +1,37 @@
+%{!?ver: %global ver 1}
+
+Name: bidon
+Version: %{ver}
+Release: 2%{?dist}
+Summary: Bidon
+License: Public Domain
+URL: http://blog.famillecollet.com/
+
+Obsoletes: fooobs < 2
+
+
+%description
+A dummy package
+
+%prep
+date >README
+echo "content" >conf
+
+%build
+: nothing to build
+
+%install
+install -Dpm644 conf %{buildroot}%{_sysconfdir}/foo.conf
+ln %{buildroot}%{_sysconfdir}/foo.conf %{buildroot}%{_sysconfdir}/bar.conf
+
+%files
+%doc README
+%config(noreplace) %{_sysconfdir}/*.conf
+
+
+%changelog
+* Fri Oct 13 2023 Remi Collet <remi@fedoraproject.org> - 1-2
+- add some hardlinks
+
+* Wed Dec 24 2014 Remi Collet <remi@fedoraproject.org> - 1-1
+- create