[Bug 1125035] New: [osc build] botches Boolean (rich) Dependencies

http://bugzilla.opensuse.org/show_bug.cgi?id=1125035 Bug ID: 1125035 Summary: [osc build] botches Boolean (rich) Dependencies Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: All OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService Assignee: bnc-team-screening@forge.provo.novell.com Reporter: eich@suse.com QA Contact: adrian@suse.com Found By: Development Blocker: --- Created attachment 796540 --> http://bugzilla.opensuse.org/attachment.cgi?id=796540&action=edit Affected spec file The following line from the attached spec file from the OBS project science/slurm gets botched when calling 'osc build': Requires(pre): (munge if slurm-munge) The error from osc build is: [ 3s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/slurm.spec [ 3s] error: line 89: Unterminated rich dependency: (munge: Requires: (munge The spec file is altered, the line is split and spread (sorted>). The result is: Requires: if Requires: slurm-config = %{version} Requires: slurm-munge) Requires: slurm-node = %{version} Requires: (munge Latest osc from openSUSE:Tools on Leap 15.0. Package versions from this repo: build 20190123-lp150.311.1 build-mkbaselibs 20190123-lp150.311.1 build-mkdrpms 20190123-lp150.311.1 obs-service-download_files 0.6.2-lp150.83.1 obs-service-format_spec_file 20180820-lp150.230.1 obs-service-obs_scm 0.9.5.1545082095.8dbc95f-lp150.239.1 obs-service-obs_scm-common 0.9.5.1545082095.8dbc95f-lp150.239.1 obs-service-recompress 0.3.1+git20170704.59bf231-lp150.31.1 obs-service-set_version 0.5.11-lp150.102.1 obs-service-source_validator 0.18-lp150.138.1 obs-service-tar_scm 0.9.5.1545082095.8dbc95f-lp150.239.1 obs-service-verify_file 0.1.1-lp150.35.6 osc 0.164.1-lp150.243.1 -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1125035 http://bugzilla.opensuse.org/show_bug.cgi?id=1125035#c1 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|adrian@suse.com |ro@suse.com --- Comment #1 from Adrian Schröter <adrian@suse.com> --- this is not osc, but the spec file formater, I guess. (please verify that "osc build --noservice" is leaving the file untouched) -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1125035 http://bugzilla.opensuse.org/show_bug.cgi?id=1125035#c2 --- Comment #2 from Ruediger Oertel <ro@suse.com> --- see https://github.com/openSUSE/obs-service-format_spec_file/pull/32 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com