1
0
forked from cockpit/cockpit

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
This commit is contained in:
2023-08-31 11:18:45 +00:00
committed by Git OBS Bridge
parent 28bdb341f0
commit 91c8aa46a4
3 changed files with 14 additions and 1 deletions

View File

@@ -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}