Re: RPM option -ba

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

 



On Tue, 2004-03-16 at 07:49, Daniel Stonier wrote:
> On Tue, 16 Mar 2004 12:37:04 +0100, Wengrzik, Andreas <Wengrzik@xxxxxx> 
> wrote:
> 
> > Hello!
> >
> > Anyone knows this line:
> >
> > rpm -ba ??
> >
> 
> Redhat 9 (I think, maybe 8?) separated the commands for unpacking and 
> repacking rpms. Previously
> rpm -ba was to build an rpm from a spec file. You now need to use the 
> rpmbuild function.
> 
> If you're dealing with a source rpm, just type in
> 
> 	rpmbuild --rebuild xxxx.srpm
> 
> It will dump rpm's in your /usr/src/redhat/RPMS/ix86 directory.
> Make sure you are root when you do this.

Or you can create the file $HOME/.rpmmacros with something like this:

%_topdir /home/robert/rpm


> Cheers,
> Daniel




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux