[opensuse-buildservice] prevent OBS from preventing "BuildRequires: -post-build-checks"
Hi, 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 ... Greets, Flo
On Mon, May 06, 2013 at 08:53:42PM +0200, Florian Kabus wrote:
Hi,
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 ...
Does the line: #!BuildIgnore: post-build-checks work? Ciao, marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi Marcus, thx 4 your reply. Already tried that; unfortunately no impact. We have OBS v2.3.4-5.1 (obs-server/obs-worker) installed. I guess OBS prevents disabling post-build-checks due to some new policy introduced in the last month or so, because approximately half a year ago disabling post-build-checks via "BuildRequires: -post-build-checks" in .spec was still possible. Greets On 07.05.2013 08:11, Marcus Meissner wrote:
On Mon, May 06, 2013 at 08:53:42PM +0200, Florian Kabus wrote:
Hi,
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 ...
Does the line:
#!BuildIgnore: post-build-checks
work?
Ciao, marcus
On Tue, May 07, 2013 at 10:06:12AM +0200, Florian Kabus wrote:
Hi Marcus,
thx 4 your reply.
Already tried that; unfortunately no impact. We have OBS v2.3.4-5.1 (obs-server/obs-worker) installed.
I guess OBS prevents disabling post-build-checks due to some new policy introduced in the last month or so, because approximately half a year ago disabling post-build-checks via "BuildRequires: -post-build-checks" in .spec was still possible.
You could try to remove it from the project config too via "osc meta prjconf -e PROJECT" Ciao, Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mon, May 06, 2013 at 08:53:42PM +0200, Florian Kabus wrote:
Hi,
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. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi Michael, thanks a lot for the clarification! I was very much irritated from the many RPMLINT errors/warnings, because I initially tought that BuildRequires: -post-build-checks or better BuildConflicts: post-build-checks disables also RPMLINT checks, which it doesn't; but it disables post-build-checks, which both actually do! So you´re right, Michael. And I intermingled that in my mind ... Problem here is probably another one. Could be: [ 32s] RPMLINT report: [ 32s] =============== [ 32s] error: cannot open Pubkeys index using db3 - No such file or directory (2) [ 39s] rpmlint: E: badness 1250 exceeds threshold 1000, aborting. ... which is caused by an even worser OSC Radiator.spec + package (v4.11) in terms of (RPM) compliance. Thanks for you hints, guys. Skål, Flo On 07.05.2013 10:10, Michael Schroeder wrote:
On Mon, May 06, 2013 at 08:53:42PM +0200, Florian Kabus wrote:
Hi,
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.
Cheers, Michael.
-- Florian Kabus, Fraunhofer-Institut SIT IT Services and Security | Competence Center LAN Rheinstraße 75, 64295 Darmstadt, Germany Tel.: +49-6151-869-60025 | Raum 61 mailto:florian.kabus@sit.fraunhofer.de http://www.sit.fraunhofer.de
On Tue, May 07, 2013 at 11:19:13AM +0200, Florian Kabus wrote:
thanks a lot for the clarification!
I was very much irritated from the many RPMLINT errors/warnings, because I initially tought that
BuildRequires: -post-build-checks or better BuildConflicts: post-build-checks
disables also RPMLINT checks, which it doesn't; but it disables post-build-checks, which both actually do!
Btw, Marcus' suggestion of #!BuildIgnore: post-build-checks should also work. So we have: BuildRequires: -post-build-checks always wrong BuildConflicts: post-build-checks works, rpm will put a "Conflict: post-build-checks" in the resulting .src.rpm #!BuildIgnore: post-build-checks works, no conflict in the src.rpm Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Florian Kabus
-
Marcus Meissner
-
Michael Schroeder