Accepting request 1104670 from systemsmanagement:cockpit

Forwarded request #1104348 from djz88

- set setroubleshoot-server dependency and do not apply 
  0002-selinux-temporary-remove-setroubleshoot-section-patch for 
  cockpit-selinux when build for SLE Micro 5.5

OBS-URL: https://build.opensuse.org/request/show/1104670
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cockpit?expand=0&rev=32
This commit is contained in:
Ana Guerrero 2023-08-21 09:43:01 +00:00 committed by Git OBS Bridge
commit 2655bcda75
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Aug 15 13:53:14 UTC 2023 - Zdenek Kubala <zkubala@suse.cz>
- set setroubleshoot-server dependency and do not apply
0002-selinux-temporary-remove-setroubleshoot-section-patch for
cockpit-selinux when build for SLE Micro 5.5
-------------------------------------------------------------------
Thu Aug 3 11:35:47 UTC 2023 - Adam Majer <adam.majer@suse.de>

View File

@ -231,8 +231,11 @@ BuildRequires: python3-tox-current-env
# SLE Micro specific patches
%if 0%{?is_smo}
%patch101 -p1
# Patches for versions lower then SLE Micro 5.5
%if 0%{?sle_version} < 150500
%patch102 -p1
%endif
%endif
# For anything based on SLES 15 codebase (including Leap, SLEM)
%if 0%{?suse_version} == 1500
%patch103 -p1
@ -774,8 +777,8 @@ Summary: Cockpit SELinux package
Requires: cockpit-bridge >= %{required_base}
Requires: cockpit-shell >= %{required_base}
Requires: policycoreutils-python-utils >= 3.1
# setroubleshoot not yet in SLE Micro
%if !0%{?is_smo}
# setroubleshoot is available on SLE Micro starting with 5.5)
%if !0%{?is_smo} || ( 0%{?is_smo} && 0%{?sle_version} >= 150500 )
Requires: setroubleshoot-server >= 3.3.3
%endif
BuildArch: noarch