Re: Mixing of macros and native commands in specs.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 5 Oct 2007 11:00:46 +0400
"Peter Lemenkov" <lemenkov@xxxxxxxxx> 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

This is an unclear example.  Are you talking about mixing 'make' and
'%{_rm}', or are you talking about mixing '$RPM_BUILD_ROOT' and
'%{buildroot}' ?  The former is allowed both in rpm and the
guidelines, the latter is allowed in rpm but disallowed in the
guidelines.  Our guidelines ask you to use one macro style throughout
a spec instead of mixing types. 

-- 
Jesse Keating
Fedora -- All my bits are free, are yours?

Attachment: signature.asc
Description: PGP signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux