Mixing of macros and native commands in specs.

Rahul Sundaram sundaram at fedoraproject.org
Fri Oct 5 07:10:50 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

It would work but it is explicitly recommended against in the guidelines.

Rahul




More information about the fedora-devel-list mailing list