Re: rpm question

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

 



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@xxxxxxxxxx To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list





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

  Powered by Linux