Re: RPM option -ba

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

 



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.

Cheers,
Daniel


I´ve found a instruction for installing imap on FC1 (RH9)
http://rmorales.modwest.com/rpms/cyrus-imapd/



Download

Download the source RPM <http://rmorales.modwest.com/rpms/cyrus-imapd/SRPMS/> to rebuild it in your system (recommended)

You can then do (you must be root for the following steps):

rpm -i cyrus-imapd-VVV-RRR.src.rpm



Now you can (in the /usr/src/redhat/SPECS directory) do:

rpm -ba /usr/src/redhat/SPECS/cyrus-imapd-....spec


And then you will have your personalized RPMs in /usr/src/redhat/RPMS/<yourarchitecture>




But if i run this line

rpm -ba /usr/src/redhat/SPECS/cyrus-imapd-....spec

i just become

-ba: unknown option


Anyone knows whats wrong??

Thanks a lot!




-- email:snorri_dj@xxxxxxxxxxxxx http://members.optusnet.com.au/stonierd/



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

  Powered by Linux