-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Well, you're halfway there. Do your rpmbuild -bp, patch that however you want. Generate a patchfile, put that in your SOURCES dir. and modify the spec file to use that patch file. Then rpmbuild-ba <your modified spec> - -----Original Message----- From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx] On Behalf Of Robert P. J. Day Sent: Tuesday, October 16, 2007 11:21 AM To: rpm list Subject: how to build a patched binary rpm from a source rpm? what's the canonical way to build a modified binary rpm from the original source rpm? i can download the source rpm, install it under my own "rpms/" directory, then run: $ rpmbuild -bp <spec file> to run the prep stage. at that point, i can mess with the source, but it's not clear what command to invoke to have the build pick up at that point and finish off the build to create the (now modified) binary rpm. i would have thought this would involve "--short-circuit" in some way, but that doesn't seem possible. help? rday - -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://crashcourse.ca ======================================================================== _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list -----BEGIN PGP SIGNATURE----- Version: 9.6.2 (Build 2014) wsFVAwUBRxTYlHJE2wkjIctBAQJ/9g/9F7nwuEG25cLxYHzvBsKtJ2ZnxhaBXi+4 d0TulXnUkg0aoGQh7+UWbjP3VprMhssab6WOSrjB/SAPrKWCfdldRKlIKsXdrQ4J 6Soy7kznrT5y9WSQ8QAu0gqTPndPtV+ygM3mh6nLDoM6chWe43y44oOw4r1g0JYw t4xJkCIi9aXFc16j4NY+t6of5qWVfU2VzRNB2CXgk57E/C9BoD62oIGXDwmhIZZX fSNnBvTgwbJIf4Qv7MTtWt5Jml/9Z2O9jNnJuUtYqSBTsof7tnVG0Z6GL8v9pq6y y8EiMEpVnNngOTxosUpON5vMCcrQ6BxFzeJ9B5mt5hW0O4KP9nd/sXQIxthNLLJV H8xFW9C8ZaPDAPpMqM300nZQVNYOV8WKukV0IDSC+tzF8BUncRgGk0XlztubnqVz ZbYNUE4oBU/lSTibAlP9AvRsm/NTaUz8qMXTX8OlW7s6OodRVqh0oFOOlV0J216W WsNrYk6dXT3Tm+OMJlV2ToBaM9myCMQw4p4pPa8SyoXBV7VPaOeCztXcxNCS2T2k MxBgYu9kDW9d/zxzXd13Wz0EIlIinwo5F6OtHqr/DqkJdaJGDleVFwWmaHqYEF3Z 5I0V8M5yYvbp4KbPAtiUSeJAaaUoLZEdxEMOaXuAOFqjqHBB0C24Ai9e6LaqADpX Lxm1ZkNd/RA= =zEab -----END PGP SIGNATURE----- This message contains information which may be confidential and/or privileged. Unless you are the intended recipient (or authorized to receive for the intended recipient), you may not read, use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail and delete the message and any attachment(s) thereto without retaining any copies. _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list