diff --git a/cockpit.changes b/cockpit.changes index c423d84..16789ee 100644 --- a/cockpit.changes +++ b/cockpit.changes @@ -12,6 +12,11 @@ Thu Feb 29 16:40:06 UTC 2024 - Cathy Hu 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 + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Thu Feb 15 12:21:55 UTC 2024 - Adam Majer diff --git a/cockpit.spec b/cockpit.spec index 43102e7..383e07e 100644 --- a/cockpit.spec +++ b/cockpit.spec @@ -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