From 91c8aa46a48f5c4bdfee8a3cd7aad1b549d787631cea17c3d9a2343e033b5cc1 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Thu, 31 Aug 2023 11:18:45 +0000 Subject: [PATCH] Accepting request 1108266 from home:malikirri:branches:systemsmanagement:cockpit - Fix building for SLE15.5 and SLE15.4 OBS-URL: https://build.opensuse.org/request/show/1108266 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=141 --- _service | 3 +++ cockpit.changes | 5 +++++ cockpit.spec | 7 ++++++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/_service b/_service index 16715cb..c8c8fff 100644 --- a/_service +++ b/_service @@ -7,6 +7,9 @@ cockpit-suse-theme.obsinfo + + cockpit-suse-theme @PARENT_TAG@ diff --git a/cockpit.changes b/cockpit.changes index 33fd5fd..a411250 100644 --- a/cockpit.changes +++ b/cockpit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 31 10:00:06 UTC 2023 - Miika Alikirri + +- Fix building for SLE15.5 and SLE15.4 + ------------------------------------------------------------------- Fri Aug 18 13:15:17 UTC 2023 - Adam Majer diff --git a/cockpit.spec b/cockpit.spec index 0fce883..a6013e6 100644 --- a/cockpit.spec +++ b/cockpit.spec @@ -130,11 +130,16 @@ BuildRequires: pam-devel BuildRequires: autoconf automake BuildRequires: make BuildRequires: /usr/bin/python3 -%if 0%{?rhel} && 0%{?rhel} <= 8 +%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || 0%{?suse_version} <= 1500 # RHEL 8's gettext does not yet have metainfo.its BuildRequires: gettext >= 0.19.7 +%if 0%{?rhel} BuildRequires: libappstream-glib-devel %else +# Suse's package has a different name +BuildRequires: appstream-glib-devel +%endif +%else BuildRequires: gettext >= 0.21 %endif %if 0%{?build_basic}