RFC: spec preprocessor

Michal Moskal malekith at pld-linux.org
Tue May 20 14:33:06 CEST 2003


On Tue, May 20, 2003 at 10:56:17AM +0200, Jakub Bogusz wrote:
> > > Maybe implementing %ifdef and %ifndef (to be used instead of
> > > 0%{?...:1} and 0%{!?...:1}) would be worth... but it would make many
> > > specs incompatible with rpm from Ra :/
> > 
> > %ifdef and %ifndef .... hmm, look in rpm-list archive for jbj
> > proposition about implementing it as macro (with sample implementation).
> 
> Is the archive accessible to non-members?
> 
> >From http://www.rpm.org/ I've found only:
> 
> https://listman.redhat.com/mailman/listinfo/rpm-list
> "The current archive is only available to the list members."
> 
> http://www.redhat.com/mailing-lists/rpm-list/index.html
> "Page Not Found (404)"

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&group=linux.redhat.rpm

%ifdef() %if %{expand:%%{?%{1}:1}%%{!?%{1}:0}}

 from: 

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&frame=right&th=a62c054cf0f6ee10&seekm=200202221248.AA3247047188%40snip.net#link2

-- 
: Michal Moskal :: http://www.kernel.pl/~malekith : GCS {C,UL}++++$ a? !tv
: PLD Linux ::::::::: Wroclaw University, CS Dept : {E-,w}-- {b++,e}>+++ h



More information about the pld-devel-en mailing list