more rpm problems...
    Pekka Savola 
    pekkas at netcore.fi
       
    Sat Feb 10 23:49:55 EST 2001
    
    
  
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}
vs
%if ! %{no_x11_askpass}
%setup -q -a 1
%else
However, the former construct won't work with e.g. SourceX: files.
It's just easier to rpm -Uvh *.src.rpm, edit the .spec file and rpm -ba
that.
-- 
Pekka Savola                  "Tell me of difficulties surmounted,
Netcore Oy                    not those you stumble over and fall"
Systems. Networks. Security.   -- Robert Jordan: A Crown of Swords
    
    
More information about the openssh-unix-dev
mailing list