Robert P. J. Day
2007-10-16 15:21:16 UTC
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
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
========================================================================
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://crashcourse.ca
========================================================================