Mailinglist Archive: opensuse-packaging (119 mails)

< Previous Next >
[opensuse-packaging] obs-service-format_spec_file is moving comments around
  • From: Michal Srb <msrb@xxxxxxxx>
  • Date: Tue, 18 Jul 2017 11:14:26 +0200
  • Message-id: <5213221.7QFfeaj4o4@mehrunes.localdomain>
Hi,

I have problem with format_spec_file, it moves comments to different lines for
no obvious reason.

For example in SUSE:SLE-12-SP1:Update/tigervnc:

Snipped from original spec file:
Url: http://tigervnc.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: A high-performance, platform-neutral implementation of VNC
License: GPL-2.0 and MIT
Group: System/X11/Servers/XF86_4
# would need fixing to use fPIC in common/CMakeLists.txt
ExcludeArch: s390
Source1: https://github.com/TigerVNC/tigervnc/archive/v%version}.tar.gz
Source3: vnc.xinetd

After format_spec_file:
Url: http://tigervnc.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: A high-performance, platform-neutral implementation of VNC
# would need fixing to use fPIC in common/CMakeLists.txt
License: GPL-2.0 and MIT
Group: System/X11/Servers/XF86_4
ExcludeArch: s390
Source1:
https://github.com/TigerVNC/tigervnc/archive/v%{version}.tar.gz
Source3: vnc.xinetd

The comment moved to a different line where it doesn't make sense.
Is it a bug in obs-service-format_spec_file?

Michal Srb
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >