[PLUG] rpm source package building

Larry Brigman larry.brigman at gmail.com
Wed Dec 17 03:42:25 UTC 2008


My goggle foo is not doing too well in finding an answer to this
question (if there is an easy one).

My problem:

I need to build source rpm packages from tarballs that are not in any
distribution (newer versions,
custom patches).  I do plan to build  the binary rpm in a chroot to
isolate the build dependencies via
a build package called mock.  The problem is that mock needs a
prebuild source rpm.

The other half of the problem is that when building the source rpm,
rpmbuild does a check of
the Buildrequires packages before it build the package.  These are
only needed when building
the binary package not the source package.

Is there a method to construct the source rpm without it requiring all
of the Buildrequires packages being
installed on the system that is building the source package?



More information about the PLUG mailing list