From d7f3e448b6db876235aade2d71e54ff298230f0579bbb31143f6903e24d78f65 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 26 Feb 2024 10:50:07 +0000 Subject: [PATCH] Accepting request 1150643 from home:dimstar:rpm4.20:f Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1150643 OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=118 --- fail2ban.changes | 5 +++++ fail2ban.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/fail2ban.changes b/fail2ban.changes index f1e5d54..800372d 100644 --- a/fail2ban.changes +++ b/fail2ban.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 08:17:28 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Jun 5 16:36:47 UTC 2023 - Lars Vogdt diff --git a/fail2ban.spec b/fail2ban.spec index dac3dd1..a50b44e 100644 --- a/fail2ban.spec +++ b/fail2ban.spec @@ -130,16 +130,16 @@ install -m644 %{SOURCE8} config/paths-opensuse.conf # Use openSUSE paths sed -i -e 's/^before = paths-.*/before = paths-opensuse.conf/' config/jail.conf -%patch100 -p1 -%patch101 -p1 +%patch -P 100 -p1 +%patch -P 101 -p1 %if 0%{?suse_version} < 1310 -%patch200 -p1 +%patch -P 200 -p1 %endif -%patch201 -p1 +%patch -P 201 -p1 %if !0%{?suse_version} > 1500 -%patch300 -p1 +%patch -P 300 -p1 %endif -%patch301 -p1 +%patch -P 301 -p1 rm config/paths-arch.conf \ config/paths-debian.conf \