On Wed, 5 Jan 2005, Mostafa Z. Afgani wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Satish Balay wrote: > | On Wed, 5 Jan 2005, Mostafa Z. Afgani wrote: > | > | > |>Just curious, if he is using the --rebuild option, where's he going to > |>get the *.spec file? > | > | > | If you modify the specfile - use: > | > | rpmbuild -ba foo.spec > | > | Satish > | > Yes, I know that. But when you use 'rpmbuild --rebuild *.src.rpm' you > don't really have access to the *.spec file since it's contained in the > *src.rpm. If you want to edit the *.spec file, wouldn't you have to: > > 1. install the *.src.rpm > 2. edit the *.spec > 3. use rpmbuild -ba * > > Is there a simpler way? without having to install the sources and still > letting rpmbuild automate the whole process through the --rebuild option? rpmbuild --rebuild foo.src.rpm is equivalent to: rpm -ih foo.src.rpm rpmbuild -bb foo.spec Not sure what you want to simplify. Satish