Mixing of macros and native commands in specs.

Hans de Goede j.w.r.degoede at hhs.nl
Fri Oct 5 07:02:11 UTC 2007


Peter Lemenkov wrote:
> Hello All!
> Just for clarification - is it allowed to mix macros and native
> command in spec-file? For instance
> 
> %make
> make %{?_smp_mflags}
> 
> %install
> %{_rm} -rf  $RPM_BUILD_ROOT
> make DESTDIR=%{buildroot} install
> 
> 

Allowed as in the RPM will build, yes, allowed as in what do the guidelines 
say. No, either use all macros or all native commands.

Regards,

Hans




More information about the fedora-devel-list mailing list