Mailinglist Archive: opensuse-buildservice (233 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: %make_install in prjconfig

On Friday 2013-11-08 18:24, Brian K. White wrote:

Be it a change in OBS itself or a change in a prjconfig, providing a macro (or
anything else for that matter) in OBS for a target that doesn't natively have
it, produces a .rpm that will install, yet produce a src.rpm that will NOT

2) Something even fancier in prjconfig? Can you get prjconfig to actually
out a different .spec into the src.rpm than the one that was used to create

There is a mechanism in prjconfig called "Substitutes:", however it is only
used for (Build)Require, not for macros or arbitrary lines.
This would cause substitution of the spec before being passed to rpmbuild,
so that rpmbuild will include the so-changed .spec in the .src.rpm.
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >