Accepting request 1151135 from home:dimstar:rpm4.20:c

Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1151135
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=166
This commit is contained in:
Adam Majer 2024-03-04 14:56:57 +00:00 committed by Git OBS Bridge
parent 30d7523ce5
commit 9628aab491
2 changed files with 14 additions and 9 deletions

View File

@ -12,6 +12,11 @@ Thu Feb 29 16:40:06 UTC 2024 - Cathy Hu <cathy.hu@suse.com>
is already defined in the main selinux-policy package (bsc#1220385).
Modified selinux_libdir.patch
-------------------------------------------------------------------
Mon Feb 26 10:52:55 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Thu Feb 15 12:21:55 UTC 2024 - Adam Majer <adam.majer@suse.de>

View File

@ -242,24 +242,24 @@ BuildRequires: python3-tox-current-env
%prep
%setup -q -n cockpit-%{version} -a 3
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch -P 1 -p1
%patch -P 2 -p1
%patch -P 3 -p1
%patch -P 4 -p1
%patch -P 5 -p1
# SLE Micro specific patches
%if 0%{?is_smo}
%patch101 -p1
%patch -P 101 -p1
# Patches for versions lower then SLE Micro 5.5
%if 0%{?sle_version} < 150500
%patch102 -p1
%patch -P 102 -p1
%endif
%endif
# For anything based on SLES 15 codebase (including Leap, SLEM)
%if 0%{?suse_version} == 1500
%patch103 -p1
%patch104 -p0
%patch -P 103 -p1
%patch -P 104 -p0
%endif
cp %SOURCE1 tools/cockpit.pam