Bugzilla – Bug 1176296
[format_spec_file] service creates malformed Spec File
Last modified: 2020-09-08 18:33:16 UTC
Created attachment 841491 [details] Unconverted Spec File. We are maintaining the spec file with the upstream project https://github.com/cea-hpc/clustershell. The master spec file needs to be SUSE as well as RH compliant. The obs service format_spec_file is used to reformat the spec file to be OBS compliant. Unfortunately, the result is malformed: %if 0%{?suse_version} License: LGPL-2.1-or-later %else License: LGPLv2+ %endif %if 0%{?suse_version} Group: Productivity/Clustering/Computing %else %if 0%{?rhel} Group: System Environment/Base %endif %endif is converted to: License: LGPL-2.1-or-later Group: System Environment/Base %if 0%{?suse_version} %else %endif %if 0%{?suse_version} %else %if 0%{?rhel} %endif %endif The unconverted spec file used can be found in the attachment. obs-service-format_spec_file version used: 20191114-lp151.237.1