From d8286314aea2fa830e55b5ab26e6b4b41ba3111d Mon Sep 17 00:00:00 2001 From: Miika Alikirri Date: Tue, 26 Mar 2024 13:13:19 +0200 Subject: [PATCH] spec: Support SUSE specific BuildRequires --- packaging/cockpit-podman.spec.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packaging/cockpit-podman.spec.in b/packaging/cockpit-podman.spec.in index 86cbe8bac..61d228596 100644 --- a/packaging/cockpit-podman.spec.in +++ b/packaging/cockpit-podman.spec.in @@ -24,7 +24,12 @@ URL: https://github.com/cockpit-project/cockpit-podman Source0: https://github.com/cockpit-project/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz BuildArch: noarch +%if 0%{?suse_version} +# Suse's package has a different name +BuildRequires: appstream-glib +%else BuildRequires: libappstream-glib +%endif BuildRequires: make BuildRequires: gettext %if 0%{?rhel} && 0%{?rhel} <= 8