From f3ee015a174a027c464a62b2a667986587e15e0d1018ad7fa75efb5569745c34 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 26 Feb 2024 13:40:54 +0000 Subject: [PATCH] Accepting request 1151577 from home:dimstar:rpm4.20:s Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1151577 OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=289 --- squid.changes | 5 +++++ squid.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/squid.changes b/squid.changes index 074dc63..877746b 100644 --- a/squid.changes +++ b/squid.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 13:37:08 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Thu Dec 28 22:12:14 UTC 2023 - Sean Lewis diff --git a/squid.spec b/squid.spec index b4cc008..a32b7e0 100644 --- a/squid.spec +++ b/squid.spec @@ -106,13 +106,13 @@ accelerator. %prep %setup -q cp %{SOURCE10} . -%patch3 -p1 +%patch -P 3 -p1 # upstream patches after RELEASE perl -p -i -e 's|%{_prefix}/local/bin/perl|%{_bindir}/perl|' `find -name "*.pl"` -%patch1 -p1 +%patch -P 1 -p1 %if 0%{?suse_version} < 1500 -%patch2 -p1 +%patch -P 2 -p1 %endif %build