Re: Patches from bugzilla

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

 



-----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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iQFDBAEBAgAtBQJFTBpCJhhodHRwOi8vd3d3LnBvYm94LmNvbS9+dG16L3BncC90
bXouYXNjAAoJEEMlk4u+rwzjrJEH+gNkzjCl8fDNpY+1wbfNQafF/u85DQikJ4MC
g4kwmD0ww7EM15TESOr3AyATYR6uohkjBCmCgaGEyt2JBugBmtZ5CxkxSO0jBlCm
5Th0zJJ/Hjzk/xEjqiOgUVlF+e0HhvgL4vqeAoLvkzCfR0kpKcXjeWZvCsGD7AOe
kvesQyNBNQnfhtiJ14CoqHpRE47cgiygyjSg0g/BRj0NXDJGW0IcRd7Osrfjh58x
rqp9pPeb2ex8TDyyc5vie0o0UQT8Ni7/IVu7uXijMDiMrI0iics2eQAR84s+EJ3y
uSsKAnktVeV/RTdkqc8VUozvAJj4OGB1H3RXUyMwdAfrTRNuUso=
=ASTw
-----END PGP SIGNATURE-----


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

  Powered by Linux