Bugzilla – Bug 1065524
[format_spec_file] Strange Reformatting of an upstream spe File
Last modified: 2020-08-24 15:15:08 UTC
Created attachment 746226 [details] Affected spec-File The obs service format_spec_file reformats the attached spec file in a strange way. The Group: and License: tags are %if-ed distro-specific. It moves these (the wrong ones) out of the %if..%else constructs - partly into the sub-packages, modifies them and leaves an empty %if..%else..%endif construct behind. @@ -46,12 +46,10 @@ Version: 1.7.81 Release: 0%{?dist} Summary: Python framework for efficient cluster administration +License: LGPL-2.1+ +Group: System Environment/Base %if 0%{?suse_version} -License: LGPL-2.1 -Group: Productivity/Clustering/Computing %else -License: LGPLv2+ -Group: System Environment/Base %endif Url: http://cea-hpc.github.io/clustershell/ Source0: https://files.pythonhosted.org/packages/source/C/%{srcname}/%{srcname}-%{version}.tar.gz @@ -80,6 +78,8 @@ %package -n python2-%{name} Summary: ClusterShell module for Python 2 +License: LGPL-2.1 +Group: Productivity/Clustering/Computing BuildRequires: %{python2_pkgprefix}-devel BuildRequires: %{python2_pkgprefix}-setuptools Requires: %{python2_pkgprefix}-setuptools
proposed change: https://github.com/openSUSE/obs-service-format_spec_file/pull/40