From a4bc57d2e4232ac93308e94eab90e634bc18be9cd64f0f849a00c11948b4f7c6 Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Mon, 26 Feb 2024 11:01:58 +0000 Subject: [PATCH] Accepting request 1151131 from home:dimstar:rpm4.20:c Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1151131 OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=220 --- cronie.changes | 5 +++++ cronie.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/cronie.changes b/cronie.changes index 265bd67..558d457 100644 --- a/cronie.changes +++ b/cronie.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 10:51:55 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Jan 22 15:39:47 UTC 2024 - Danilo Spinella diff --git a/cronie.spec b/cronie.spec index 6448555..fc11f89 100644 --- a/cronie.spec +++ b/cronie.spec @@ -103,15 +103,15 @@ overloaded in settings. %prep %setup -q -n %{name}-%{name}-%{cronie_version} -%patch3 -p1 -%patch4 -%patch5 -p1 +%patch -P 3 -p1 +%patch -P 4 +%patch -P 5 -p1 cp %{SOURCE7} ./cron_to_cronie.README -%patch13 -p1 +%patch -P 13 -p1 %if 0%{?suse_version} > 1500 -%patch14 -p1 +%patch -P 14 -p1 %endif -%patch16 -p1 +%patch -P 16 -p1 %build # fill macro CRON_VERSION it is used in top three lines of crontab file,should be reworked