summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/rpmnew/a-2.spec
diff options
context:
space:
mode:
Diffstat (limited to 't/data/SPECS/rpmnew/a-2.spec')
-rw-r--r--t/data/SPECS/rpmnew/a-2.spec28
1 files changed, 28 insertions, 0 deletions
diff --git a/t/data/SPECS/rpmnew/a-2.spec b/t/data/SPECS/rpmnew/a-2.spec
new file mode 100644
index 00000000..60f45dc2
--- /dev/null
+++ b/t/data/SPECS/rpmnew/a-2.spec
@@ -0,0 +1,28 @@
+%define content orig
+
+Summary: x
+Name: a
+Version: 2
+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