Mailinglist Archive: opensuse-buildservice (209 mails)

< Previous Next >
Re: [opensuse-buildservice] prevent OBS from preventing "BuildRequires: -post-build-checks"
On Mon, May 06, 2013 at 08:53:42PM +0200, Florian Kabus wrote:

we have a local OBS installation here. Is there any way to prevent OBS from
deleting "BuildRequires: -post-build-checks" in the specfile ?

we have this in buildlog:
[ 20s] I have the following modifications for ccl-radiator.spec:
[ 20s] 21c21
[ 20s] < Release: 1
[ 20s] ---
[ 20s] > Release: 20
[ 20s] 29c29
[ 20s] < BuildRequires: -post-build-checks
[ 20s] ---
[ 20s] >

Unfortunately we need this for this particular .spec. All others are very
well written ...

I'm not sure what you mean here, "BuildRequires: -post-build-checks"
is not valid for rpm, so the spec file patcher *must* remove it.
Still, it's parsed and obeyed by OBS, so removing it just means that
it's not in the created .src.rpm, which should not be a problem.

Anyway, the "rpm official" syntax is

BuildConflicts: post-build-checks

which is AFAIK also parsed by OBS.


Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups