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