[packages/postgresql/POSTGRESQL_15] use %patch -P

atler atler at pld-linux.org
Fri Mar 21 18:34:49 CET 2025


commit 4c3f63d879d11dbc6eba83aa7a21d52f97e90b30
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Mar 21 18:10:43 2025 +0100

    use %patch -P

 postgresql.spec | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/postgresql.spec b/postgresql.spec
index 8c55b23..75f09b4 100644
--- a/postgresql.spec
+++ b/postgresql.spec
@@ -797,12 +797,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/4c3f63d879d11dbc6eba83aa7a21d52f97e90b30



More information about the pld-cvs-commit mailing list