summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/multi-line-macro.spec
diff options
context:
space:
mode:
Diffstat (limited to 't/data/SPECS/multi-line-macro.spec')
-rw-r--r--t/data/SPECS/multi-line-macro.spec28
1 files changed, 28 insertions, 0 deletions
diff --git a/t/data/SPECS/multi-line-macro.spec b/t/data/SPECS/multi-line-macro.spec
new file mode 100644
index 00000000..3971a179
--- /dev/null
+++ b/t/data/SPECS/multi-line-macro.spec
@@ -0,0 +1,28 @@
+%define foobar /etc/foo \
+ /etc/bar
+
+Summary: x
+Name: multi-linux-macro
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc
+echo foo > $RPM_BUILD_ROOT/etc/foo
+echo bar > $RPM_BUILD_ROOT/etc/bar
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%description
+x
+
+%files
+%defattr(-,root,root)
+%foobar
+# if %foobar is the last line it fails (#27417)