Mailinglist Archive: opensuse-buildservice (89 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: Request 329144 created by dimstar_suse (submit openSUSE:Factory/tevent)
Hi Dominique,

On Mon, Sep 07, 2015 at 02:55:21PM +0200, Dominique Leuenberger / DimStar wrote:
On Mon, 2015-09-07 at 14:45 +0200, Lars Mueller wrote:


++++++ new changes file:
--- tevent-man.changes
+++ tevent-man.changes

This split causes an minor issue to the network:samba:STABLE/tevent/
tevent.spec file. In the header we there now have too:

#
# spec file for package tevent-man
#


That seems to be one of the source services (likely format_spec_file)
to do some magic which it is not supposed to do.

In most such cases I've actually seen the 'main' package name being
used across all .spec files.

The tevent spec was quite "clean" till someone modified it recently. ;)

And I checked: it IS the format_spec_file service:
osc diff | cat
Index: tevent.spec
===================================================================
--- tevent.spec (revision bc4333a2aca0e590b02092cb03e94756)
+++ tevent.spec (working copy)
@@ -1,5 +1,5 @@
#
-# spec file for package tevent-man
+# spec file for package tevent
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#

osc service lr format_spec_file
osc diff | cat


I'll rise a ticket on github against that source service; as it's only
a comment (that is, to my knowledge, not used anywhere), it should
hopefully not cause strange side-effects.

Thanks!

I've tried to modify the spec to have

%if %{build_man} == 0
Name: %{_name}
...

to reverse the logic as suggested by Andreas - if I had been able to
read his comment correct. But this approach leads to two errors:

(E) signature
/home/lmuelle/opensuse/network:samba:STABLE/tevent/tevent-0.9.25.tar.asc does
not validate
ERROR: tevent.changes not a subpackage, please remove

After your reply I keep it as it is. :-)

Cheers,

Lars
--
Lars Müller [ˈlaː(r)z ˈmʏlɐ]
Samba Team + SUSE Labs
SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
< Previous Next >