summaryrefslogtreecommitdiff
path: root/tests/data/SPECS/configtest.spec
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/SPECS/configtest.spec')
-rw-r--r--tests/data/SPECS/configtest.spec23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/data/SPECS/configtest.spec b/tests/data/SPECS/configtest.spec
new file mode 100644
index 0000000..5ea7cae
--- /dev/null
+++ b/tests/data/SPECS/configtest.spec
@@ -0,0 +1,23 @@
+Name: configtest
+Version: %{ver}
+Release: 1
+Summary: Testing config file behavior
+
+Group: Testing
+License: GPL
+BuildArch: noarch
+
+%description
+%{summary}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}
+echo "%{filedata}" > $RPM_BUILD_ROOT/%{_sysconfdir}/my.conf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%config %{_sysconfdir}/my.conf