summaryrefslogtreecommitdiffstats
path: root/tests/bidon.spec
blob: 3f76b6494a1ad2ff35f10208e29d312778efc8a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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