From f77f04174e0d3a1c33238dad743b6b16a72139f94fe9e06ba67220ee03d242d6 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Thu, 1 Jun 2023 15:15:58 +0000 Subject: [PATCH] Accepting request 1088806 from home:ebaudrez:branches:openSUSE:Tools Builds on CentOS_[5678] and possibly other distros failed because their 'rpm' didn't recognize the "Recommends:" tag. I've wrapped that tag in an "%if 0%{?suse_version}" to work around it. Build is now passing on the CentOS distros. There is one build failure for CentOS_9_Stream/ppc64le, but I believe it is unrelated (VM boot failure). Note that there are still outstanding build failures because of a failure in the test suite for some distros, but I didn't address that in this commit. OBS-URL: https://build.opensuse.org/request/show/1088806 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-set_version?expand=0&rev=126 --- obs-service-set_version.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/obs-service-set_version.spec b/obs-service-set_version.spec index 6ffb2e9..8da1602 100644 --- a/obs-service-set_version.spec +++ b/obs-service-set_version.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package obs-service-set_version # # Copyright (c) 2023 SUSE LLC # @@ -45,7 +45,9 @@ Requires: python3-base %else Requires: python3 %endif +%if 0%{?suse_version} Recommends: python3-packaging +%endif %description This is a source service for openSUSE Build Service.