summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/rpmnew/a-3.spec
blob: cdec3d00e11bff9e55c56bbb703f6d388adc1d2d (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
%define content changed

Summary: x
Name: a
Version: 3
Release: 1
License: x
Group: x
Url: x
BuildArch: noarch

%description
tee

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/etc
echo %{content} > $RPM_BUILD_ROOT/etc/config-noreplace
echo %{content} > $RPM_BUILD_ROOT/etc/config
echo %{content} > $RPM_BUILD_ROOT/etc/normal

%clean
rm -rf $RPM_BUILD_ROOT

%files
%verify(not md5 size mtime) %config(noreplace) /etc/config-noreplace
%config /etc/config
/etc/normal