[packages/postgresql] use %patch -P

atler atler at pld-linux.org
Mon Feb 24 15:31:01 CET 2025


commit d4adcd5b4c84d09ab91fae2fb8b4b42519d3e2ce
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Feb 24 14:06:14 2025 +0100

    use %patch -P

 postgresql.spec | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/postgresql.spec b/postgresql.spec
index 35c7262..da72201 100644
--- a/postgresql.spec
+++ b/postgresql.spec
@@ -798,12 +798,12 @@ Różne moduły dołączone do PostgreSQL-a.
 
 %prep
 %setup -q
-%patch0 -p1
-%{?with_absolute_dbpaths:%patch1 -p1}
-%patch2 -p1
-%patch3 -p1
-%patch5 -p1
-%patch6 -p1
+%patch -P0 -p1
+%{?with_absolute_dbpaths:%patch -P1 -p1}
+%patch -P2 -p1
+%patch -P3 -p1
+%patch -P5 -p1
+%patch -P6 -p1
 
 # force rebuild of bison/flex files
 find src -name \*.l -o -name \*.y | xargs touch
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/postgresql.git/commitdiff/1a1f08242a71f9937c39faab02267156cd6fd678



More information about the pld-cvs-commit mailing list