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}