rpm question

Andrew Robinson awrobinson at cox.net
Wed Dec 31 05:58:34 UTC 2003


No, I wasn't insisting on making it a one step process. I thought I 
remembered a command to do so from some tutorial somewhere, but apparently 
I was mistaken. rpmbuild --rebuild and then rpm -Uvh is good enough. Thanks.

Andrew

At 02:52 AM 12/31/2003 +0000, you wrote:
>On Tue, 30 Dec 2003 20:12:15 -0600, Andrew Robinson wrote:
>
> > Is there a way to compile and install a source rpm in one step?
>
>The reason it is a two step process, is because step 2 (install) is
>absolutely 100% dependant on the successful completion of step 1 (build).
>It simply isn't possible to install binaries that have not been built yet.
>
>You could write a script which first does rpmbuild --rebuild then rpm
>-Uvh, but you would still need to test for successful build completion in
>the script, and then you'd need to know (or work out/guess) the name of
>the newly built packages. This isn't always obvious, for example the
>src.rpm for mozilla is one file which when rebuilt produces 10 binary
>packages (not including debug packages).
>
>I guess the Gentoo Portage system maybe does a little of what you're
>looking for, but that's a whole new game ...
>
>
>--
>fedora-list mailing list
>fedora-list at redhat.com
>To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list






More information about the fedora-list mailing list