Mailinglist Archive: opensuse-packaging (132 mails)

< Previous Next >
Re: [opensuse-packaging] specfile autoformat during submit request
On 01/09/2017 11:36 AM, Christian wrote:
Am 04.01.2017 um 10:23 schrieb Adrian Schröter:
On Mittwoch, 4. Januar 2017, 10:21:39 CET wrote Olaf Hering:
What can be done to avoid such breakage from the specfile autoformat
which runs during submit request?

(it runs on commit, not on submit request)


@@ -62,8 +63,8 @@

%package devel
Summary: C++ Template Library for Linear Algebra
-Group: Development/Libraries/C and C++
# libeigen3-devel was last used at openSUSE 13.1 (version 3.2.0)
+Group: Development/Libraries/C and C++
Provides: libeigen3-devel = %{version}
Obsoletes: libeigen3-devel < %{version}

There no reason to move comments around.

I dunno, but you may want to discuss it here:

https://github.com/openSUSE/obs-service-format_spec_file


I agree to Adrian and ...

... I don't think it was the comment which was moved .. it was the
'Group' ...

good luck :)

That is correct. I have posted a PR to fix the issue

https://github.com/openSUSE/obs-service-format_spec_file/pull/20

but the fact that format_spec_file enforces the Summary->License->Group
sequence makes it somewhat ugly and fragile to preserve anything
surrounding these tags.

--
markos

SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >