From 63dfd6176444b05c926f245d9e99014e4b9ddecfa9301b13050b617807459de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=20=D0=98=D0=BD=D0=B4=D0=B8=D0=B3?= =?UTF-8?q?=D0=BE?= Date: Thu, 22 Feb 2024 23:29:24 +0000 Subject: [PATCH] Accepting request 1149506 from home:dimstar:rpm4.20:n Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1149506 OBS-URL: https://build.opensuse.org/package/show/server:http/nginx?expand=0&rev=252 --- nginx.changes | 5 +++++ nginx.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/nginx.changes b/nginx.changes index 0352382..239c0c5 100644 --- a/nginx.changes +++ b/nginx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 22 14:08:07 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Sun Feb 18 16:23:59 UTC 2024 - Илья Индиго <13ilya@gmail.com> diff --git a/nginx.spec b/nginx.spec index 3c4ace6..5d62ae2 100644 --- a/nginx.spec +++ b/nginx.spec @@ -99,11 +99,11 @@ The source of %{name} [engine x] HTTP server and IMAP/POP3 proxy server. %prep %setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -%patch3 -%patch4 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 +%patch -P 2 +%patch -P 3 +%patch -P 4 -p1 perl -pi -e 's|\r\n|\n|g' contrib/geo2nginx.pl # we just use lib here because nginx loads them relative to _prefix