RPM option -ba
Daniel Stonier
snorri_dj at operamail.com
Tue Mar 16 11:49:47 UTC 2004
On Tue, 16 Mar 2004 12:37:04 +0100, Wengrzik, Andreas <Wengrzik at ewr.de>
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 at operamail.com
http://members.optusnet.com.au/stonierd/
More information about the fedora-list
mailing list