Hello, On Apr 18 17:03 Bruno Friedmann wrote (excerpt):
On lundi, 18 avril 2016 15.55:31 h CEST Johannes Meixner wrote:
I am only the messenger:
Cool we never shoot them, do we? ;-)
not until you have that great new upcoming Yet another Shooting Tool ... whoops - wrong thread https://lists.opensuse.org/yast-devel/2016-04/msg00029.html ;-)
Now my personal opinion:
I agree to no longer have that comment in the spec file.
I think what rpm reports for installed packages should show appropriate information to users.
...
For anything already released (no way)
Of course only for future releases.
Also we could advertise more the "report bug" button present on obs which affect directly the bug to the declared maintainer.
Great that you mention that! I had totally forgotten about its existence. I did a quick build test in home:jsmeix:branches:Printing/cups that now has in cups.spec a BugUrl added, see https://build.opensuse.org/package/show/home:jsmeix:branches:Printing/cups I described it in cups.changes: --------------------------------------------------------------------- - Added BugUrl in spec file (shown wrapped here): https://bugzilla.opensuse.org/enter_bug.cgi?classification=7340 &product=openSUSE.org &component=3rd%20party%20software &assigned_to=jsmeix@suse.com &cc=tchvatal@suse.com&cc=werner@suse.com &short_desc=Printing/cups:%20Bug which is basically the value of the "ReportBug" button on the OBS Printing development project page for the "cups" package https://build.opensuse.org/package/show/Printing/cups BugUrl is supported since rpm version 4.8.0 (cf. http://www.rpm.org/wiki/Releases/4.8.0) which is provided since openSUSE:11.4 (i.e. nowadays everywhere except SLE11). --------------------------------------------------------------------- Currently one cannot submit a package with BugUrl to openSUSE because some "service" does not like it (long BugUrl shown wrapped here): --------------------------------------------------------------------- $ osc commit error: line 16: Unknown tag: BugUrl: https://bugzilla.opensuse.org/enter_bug.cgi?classification=7340 &product=openSUSE.org&component=3rd%20party%20software &assigned_to=jsmeix@suse.com&cc=tchvatal@suse.com&cc=werner@suse.com &short_desc=Printing/cups:%20Bug Aborting: service call failed: /usr/lib/obs/service/source_validator --outdir /tmp/tmp1EbM2K A service failed with error: 1 --------------------------------------------------------------------- Currently one must use "osc commit --noservice" to get it in: --------------------------------------------------------------------- $ osc commit --noservice Sending cups.changes Sending cups.spec Transmitting file data .. Committed revision 2. --------------------------------------------------------------------- I downloaded the resulting built cups RPM for Leap 42.1 system and got (the Bug URL is shown wrapped here): --------------------------------------------------------------------- # rpm -qip binaries/cups-2.1.3-193.1.x86_64.rpm ... Vendor : obs://build.opensuse.org/home:jsmeix URL : http://www.cups.org/ Bug URL : https://bugzilla.opensuse.org/ enter_bug.cgi?classification=7340 &product=openSUSE.org &component=3rd%20party%20software &assigned_to=jsmeix@suse.com &cc=tchvatal@suse.com&cc=werner@suse.com &short_desc=Printing/cups:%20Bug --------------------------------------------------------------------- I think it would really be nice if OBS somehow automatically could enforce a matching BugUrl setting in the spec file depending on the project where a package is built. I wonder whether the package developer/maintainer should be allowed to specify a BugUrl in the spec file (in particular for his own packages in his own home project he may like to specify his personal web page or mail address as BugUrl) or if always OBS should enforce the "right" BugUrl setting in the spec file depending on the project where it is built. In any case I think when there is no BugUrl in the spec file then OBS should automatically set an appropriate BugUrl. I think when such a RPM feature is there we should use it. Kind Regards Johannes Meixner -- SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard, Graham Norton - HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org