more rpm problems...

Damien Miller djm at mindrot.org
Sun Feb 11 22:42:52 EST 2001


On Sat, 10 Feb 2001, Pekka Savola wrote:

> On Sat, 10 Feb 2001, Craig Longman wrote:
> > is there any way to:
> >  a) tell the rpm --rebuild to not build the gnome stuff
> 
> The way .spec file is done, this is impossible, because %if's in there
> override take what's defined in the specfile and don't consider what's
> given in the command line.
> 
> In RH pine packages, you can do like:
> 
> rpm --rebuild pine-*.src.rpm --define 'nokerberos 1'
> 
> 
> The difference is like:
> 
> %{!?no_x11_askpass:%setup -q -a 1}

Could you do something like:

%{!?no_x11_askpass:%define skip_x11_askpass 1}

%if ! %{skip_x11_askpass}

i.e can you nest defines inside the conditionals like that?

?

-- 
| Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's 
| http://www.mindrot.org          /   distributed filesystem'' - Dan Geer






More information about the openssh-unix-dev mailing list