On Fri, 2007-10-05 at 09:02 +0200, Hans de Goede wrote:
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.
The guidelines don't talk about macros like %{__rm} vs native commands
at all. The only mention of macros is $RPM_BUILD_ROOT vs %{buildroot}.