This is a lame question, I know, but is there a HOWTO to using bugzilla-posted patches? I have a problem that's already been identified in bugzilla and someone has posted a patch for it, but I don't want to wait for it to make its way through. Presumably, I can run it against the SRPM and generate a new RPM, but a HOWTO would be handy for doing it "right".
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Frank Pineau wrote:
This is a lame question, I know, but is there a HOWTO to using bugzilla-posted patches? I have a problem that's already been identified in bugzilla and someone has posted a patch for it, but I don't want to wait for it to make its way through. Presumably, I can run it against the SRPM and generate a new RPM, but a HOWTO would be handy for doing it "right".
Not a lame question at all. I'm not sure of the simplest howto available, but a great resource for learning to build (or rebuild) rpm packages is the RPM Guide by Eric Foster-Johnson. It's online at:
http://fedora.redhat.com/docs/drafts/rpm-guide-en/
It covers things in pretty good detail, though there may be things that are assumed there that you haven't learned yet. For example, I'm not sure if the details of patches -p option are covered or not and I recall that being something that vexed me for a bit until I finally grasped it.
Essentially you should be able to grab the source rpm, install it, add a few lines to the spec file about the patch, and then rebuild the package. It feels that simple to me anymore, but there are many little details along the way that can slow you down.
If the rpm guide doesn't cover some aspect of the process that you want to understand, just ask and hopefully someone will be able to point you in the right direction.
Good luck,
- -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ====================================================================== The secret of life is honesty and fair dealing. If you can fake that, you've got it made. -- Groucho Marx