[packages/php/PHP_5_4] use %patch -P
atler
atler at pld-linux.org
Thu Jan 30 12:41:25 CET 2025
commit 157fc853aab78efe4c22f2c9c26f46b15c57266a
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Jan 30 09:37:21 2025 +0100
use %patch -P
php.spec | 118 +++++++++++++++++++++++++++++++--------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
---
diff --git a/php.spec b/php.spec
index 3c4182b..e882ccd 100644
--- a/php.spec
+++ b/php.spec
@@ -1996,80 +1996,80 @@ Moduł PHP umożliwiający używanie kompresji zlib.
%prep
%setup -q -n %{orgname}-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch8 -p1
-%patch9 -p1
-%patch7 -p1
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P3 -p1
+%patch -P4 -p1
+%patch -P5 -p1
+%patch -P6 -p1
+%patch -P8 -p1
+%patch -P9 -p1
+%patch -P7 -p1
cp -p php.ini-production php.ini
-%patch10 -p1
+%patch -P10 -p1
%if %{with type_hints}
-%patch12 -p0
+%patch -P12 -p0
%endif
-%patch14 -p1
-%patch17 -p1
-%patch18 -p1
+%patch -P14 -p1
+%patch -P17 -p1
+%patch -P18 -p1
%if %{with system_gd}
-%patch19 -p1
-%endif
-%patch20 -p1
-%patch21 -p1
-%patch22 -p1
-%patch23 -p1
-%patch24 -p1
-%patch25 -p1
-%patch26 -p1
-%patch27 -p1
-%patch29 -p1
-%patch31 -p1
+%patch -P19 -p1
+%endif
+%patch -P20 -p1
+%patch -P21 -p1
+%patch -P22 -p1
+%patch -P23 -p1
+%patch -P24 -p1
+%patch -P25 -p1
+%patch -P26 -p1
+%patch -P27 -p1
+%patch -P29 -p1
+%patch -P31 -p1
%if "%{pld_release}" != "ac"
-%patch34 -p1
+%patch -P34 -p1
%endif
-%patch35 -p1
-%patch36 -p1
-%patch37 -p1
-%patch38 -p1
-%patch39 -p1
+%patch -P35 -p1
+%patch -P36 -p1
+%patch -P37 -p1
+%patch -P38 -p1
+%patch -P39 -p1
%if %{with fpm}
-%patch41 -p1
-%patch42 -p1
+%patch -P41 -p1
+%patch -P42 -p1
%endif
-%patch43 -p1
-%patch44 -p1
-#%patch45 -p1 # imap annotations. fixme
-#%patch46 -p1 # imap myrights. fixme
+%patch -P43 -p1
+%patch -P44 -p1
+#%patch -P45 -p1 # imap annotations. fixme
+#%patch -P46 -p1 # imap myrights. fixme
%if %{with suhosin}
-%patch47 -p1
-%patch68 -p1
+%patch -P47 -p1
+%patch -P68 -p1
%endif
-%patch50 -p1
-%patch51 -p1
-%patch52 -p1
-%patch53 -p1
+%patch -P50 -p1
+%patch -P51 -p1
+%patch -P52 -p1
+%patch -P53 -p1
%undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
-%patch55 -p1
-%patch59 -p1
-%patch60 -p1
-%patch62 -p1
-%patch63 -p1
-%{?with_system_libzip:%patch65 -p1}
-%patch66 -p1
-%patch67 -p1
-%patch70 -p1
+%patch -P55 -p1
+%patch -P59 -p1
+%patch -P60 -p1
+%patch -P62 -p1
+%patch -P63 -p1
+%{?with_system_libzip:%patch -P65 -p1}
+%patch -P66 -p1
+%patch -P67 -p1
+%patch -P70 -p1
%ifarch x32
# asm part of zend_operators.h of php-5.5
-%patch71 -p1
+%patch -P71 -p1
%endif
-%patch72 -p1
-%patch73 -p1
-%patch74 -p1
-%patch75 -p1
+%patch -P72 -p1
+%patch -P73 -p1
+%patch -P74 -p1
+%patch -P75 -p1
sed -E -i -e '1s,#!\s*/usr/bin/env\s+(.*),#!%{__bindir}\1,' \
run-tests.php
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/3eb67af7ec196c2bcb3e4022f9109250626c7e13
More information about the pld-cvs-commit
mailing list