Hi Thomas, Thomas Dineen wrote: > When building source RPMs: > How are the patch files installed? By hand? Or automatically by the make > build? > If manually what command is used and in what directory? Example? If you peak at a particular package, let's use the git package as an example. I just added a patch there recently and built it. You can see the changes I made to the spec file to include a new patch here: http://pkgs.fedoraproject.org/gitweb/?p=git.git;a=commitdiff;h=69974bd1 Basically, I added a Patch4: line, with the filename of the patch, and used the %patch4 macro to apply it in the rpmbuild %prep section. The patch file is placed in the rpm %_sourcedir (typically this is ~/rpmbuild/SOURCES, but you can change this). You can see the build log and the commands this ends up executing via koji: http://kojipkgs.fedoraproject.org/packages/git/1.7.6/5.fc16/data/logs/i686/build.log The relevant lines are: Patch #4 (0001-propagate-quiet-to-send-pack-receive-pack.patch): + echo 'Patch #4 (0001-propagate-quiet-to-send-pack-receive-pack.patch):' + /bin/cat /builddir/build/SOURCES/0001-propagate-quiet-to-send-pack-receive-pack.patch + /usr/bin/patch -s -p1 --fuzz=0 Does this help? -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Never do today that which will become someone else's responsibility tomorrow.
Attachment:
pgpuu1Q6Dwqo9.pgp
Description: PGP signature
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines