[Bug 650905] New: 20-files-present-and-referenced does not support %undefine
https://bugzilla.novell.com/show_bug.cgi?id=650905 https://bugzilla.novell.com/show_bug.cgi?id=650905#c0 Summary: 20-files-present-and-referenced does not support %undefine Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: BuildService AssignedTo: adrian@novell.com ReportedBy: mvyskocil@novell.com QAContact: adrian@novell.com CC: ro@novell.com Found By: Development Blocker: --- I have installed osc-source_validator-0.0-1.1.noarch. The /usr/lib/osc/source_validators/20-files-present-and-referenced exists with return code 1 on error $ osc ci -m "add /etc/java/resolver to file list (11.2- needs), disable repolib subpackage" --verbose-validation osc runs source service: /usr/lib/osc/source_validators/20-files-present-and-referenced - checking if needed files are present and none stale error: Name field must be present in package: (main package) error: Version field must be present in package: (main package) error: Release field must be present in package: (main package) error: Summary field must be present in package: (main package) error: License field must be present in package: (main package) rm -rf /tmp/check_if_valid_source_dir-xIr52Z ERROR: source_validator failed The reason is the sed script on line 40 produces following output from the xml-commons.spec file: # # # # The most probably reason is the sed script does not support %undefine directive, which is needed for make sure the repolib subpackage will not be built. Reading rpm.org wiki [1], there are few other built-in macros not included in the script. [1] http://www.rpm.org/wiki/PackagerDocs/Macros#BuiltinMacros -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=650905 https://bugzilla.novell.com/show_bug.cgi?id=650905#c1 Christos Gourdoupis <xgpub@tellas.gr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xgpub@tellas.gr --- Comment #1 from Christos Gourdoupis <xgpub@tellas.gr> 2011-11-25 00:14:41 UTC --- One year later I came across this bug too. It seems easy to fix, as the reporter suggested. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=650905 https://bugzilla.novell.com/show_bug.cgi?id=650905#c Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|adrian@suse.com |ro@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=650905 https://bugzilla.novell.com/show_bug.cgi?id=650905#c2 Ruediger Oertel <ro@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |xgpub@tellas.gr --- Comment #2 from Ruediger Oertel <ro@suse.com> 2012-06-13 12:27:59 UTC --- do you have the specfile somewhere for testing ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=650905 https://bugzilla.novell.com/show_bug.cgi?id=650905#c3 --- Comment #3 from Christos Gourdoupis <xgpub@tellas.gr> 2012-06-14 21:42:37 UTC --- As far as I can remember that script caused any spec file containing a line such as %undefine something at the top to be rejected during commit. Perhaps being before the Name field. I worked around it by removing such a line, but it was hard and frustrating to track the cause of the problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=650905 https://bugzilla.novell.com/show_bug.cgi?id=650905#c4 Ruediger Oertel <ro@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|xgpub@tellas.gr | Resolution| |FIXED --- Comment #4 from Ruediger Oertel <ro@suse.com> 2013-02-06 13:56:11 UTC --- fixed by now -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com