[opensuse-buildservice] Patch for osc core.py
Hi, for several "lines" I'm using in %description that should not imported via 'updatepacmetafromspec'. find attached Kind Regards Chris
On Saturday 23 of May 2009 22:09:49 Christian wrote:
Hi,
sorry, but made a mistake. What I wanted is "continue" not "break" :) Updated patch.
Ciao Chris
Christian schrieb:
Hi,
for several "lines" I'm using in %description that should not imported via 'updatepacmetafromspec'. find attached
Kind Regards Chris
--- core.py-orig 2009-04-28 07:09:08.000000000 +0000 +++ core.py 2009-05-23 19:56:55.000000000 +0000 @@ -1954,6 +1954,10 @@ for line in lines[start:]: if line.startswith('%'): break + elif line.startswith('#'): + continue + elif line.startswith('-----'): + continue data.append(line) spec_data[section] = data Remove of comments should make a sense, but not sure what about '-----'. Aren't they a part of %description? Regards Michal Vyskocil -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi Michal, Michal Vyskocil schrieb:
Remove of comments should make a sense, but not sure what about '-----'. Aren't they a part of %description?
Last Line of my description is ------------------------------------------------------------------------------- When you do a rpm -qi <package>, you will then get: dev:~ # rpm -qi nagios Name : nagios Relocations: (not relocatable) [.....snip...] patched for use with centreon :) Authors: Ethan Galstad <nagios@nagios.org> ---------------------------------------------------------------------- Distribution: home:sitnet:Update / SLE_10 Regards Chris
Regards Michal Vyskocil
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Christian wrote:
Hi Michal,
Michal Vyskocil schrieb:
Remove of comments should make a sense, but not sure what about '-----'. Aren't they a part of %description?
I think that Michal meant underline under "Authors" (these are indeed part of %description section in .spec files in Factory). Lots of dashes in the rpm -qi output are caused by your patch[1] in OBS. You have missing # at the start of 216 and 251 lines. (I suppose that these hashes are for decoration purposes only ...) [1] https://build.opensuse.org/package/view_file?file=project.diff&package=nagio... I vote for skipping only lines that start with a hash (#). -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Christian
-
Michal Vyskocil
-
Pavol Rusnak