summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/multi-line-macro2.spec
blob: df7e4b45314bfad54810d92ec5fea5d6cf9473c0 (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 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)