Breaking the line with back-slashes didn't work, the modules
weren't
considered arguments to the macro:
> %selinux_modules_install \
> %{_datadir}/selinux/%{selinuxtype}/mod1.cil \
> %{_datadir}/selinux/%{selinuxtype}/mod2.pp
I tried %{selinux_modules_install} and other shenanigans but no luck.
And of course the moment I send the email it occurs to me that I could try this:
%{selinux_modules_install \
%{_datadir}/selinux/%{selinuxtype}/mod1.cil \
%{_datadir}/selinux/%{selinuxtype}/mod2.pp
}
And it appears to work after inspecting the scriptlets from the RPM :)
Dridi