[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rebuiild a rpm file
- From: ABrady <xunil kc rr com>
- To: redhat-install-list redhat com
- Subject: Re: rebuiild a rpm file
- Date: Mon, 6 Jan 2003 10:16:52 -0600
On Mon, 6 Jan 2003 14:41:03 +0100
Francois Massonneau <frmas free fr> wrote:
> Hi,
> Using redhat 8.0, I can't rebuild a rpm file using or the src.rpm file
>
> or a tar.gz file. I tried as root or as a simple user and each time I
> have a command not found message.
> Usually when I was running a Mandrake distro, a rpm -ta xxxx.tar.gz
> rebuild the appropriate rpm file, same with the command rpm -ba
> --target=i686 xxxx.spec, or rpm --rebuild xxxxx.src.rpm
> As user I have in my own home directory the right files ".rpmmacros"
> and ".rpmrc".
> But here using redhat, it fails. Do I need to install something else,
> or what is wrong with the commands above ?? Using Mandrake it was rpm
> version 4.0, here using Redhat, it's rpm version 4.1
> Thanks. Francois
rpmbuild --rebuild (file.src.rpm) (target <arch>) <--the "=" dropped
i.e. rpmbuild --rebuild pine-4.44-14.80.0.src.rpm --target i686
rpmbuild -ta <file.tar.gz> OR <file.tar.bz2> (target <arch>)
rpmbuild -tb <file.tar.gz> OR <file.tar.bz2> (target <arch>)
rpmbuild -ba <file.spec) (target <arch>)
This changed awhile back. Can't remember when. About 7.0, 7.1 or 7.2 it
started using this.
--
Make yourself at home. Clean my kitchen.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]