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