[packages/php/PHP_5_3] use %patch -P
atler
atler at pld-linux.org
Thu Jan 30 14:30:15 CET 2025
commit 7a5c6feb1ea0ea26ca7a84cafc6a5ba03a8e1d68
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Jan 30 11:47:03 2025 +0100
use %patch -P
php.spec | 176 +++++++++++++++++++++++++++++++--------------------------------
1 file changed, 88 insertions(+), 88 deletions(-)
---
diff --git a/php.spec b/php.spec
index db21940..00df5dc 100644
--- a/php.spec
+++ b/php.spec
@@ -2088,104 +2088,104 @@ 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
-%patch7 -p1
-%patch9 -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 -P7 -p1
+%patch -P9 -p1
cp -p php.ini-production php.ini
-%patch10 -p1
-%patch11 -p1
+%patch -P10 -p1
+%patch -P11 -p1
%if %{with type_hints}
-%patch12 -p0
-%endif
-%patch13 -p1
-%patch14 -p1
-%patch15 -p1
-%patch16 -p1
-%patch17 -p1
-%patch18 -p1
+%patch -P12 -p0
+%endif
+%patch -P13 -p1
+%patch -P14 -p1
+%patch -P15 -p1
+%patch -P16 -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}
-%patch69 -p1
-%patch41 -p1
-%patch42 -p1
-%endif
-%patch43 -p1
-%patch44 -p1
-%patch45 -p1
-%patch46 -p1
+%patch -P69 -p1
+%patch -P41 -p1
+%patch -P42 -p1
+%endif
+%patch -P43 -p1
+%patch -P44 -p1
+%patch -P45 -p1
+%patch -P46 -p1
%if %{with suhosin}
-%patch47 -p1
-%patch72 -p1
-%endif
-%patch68 -p1
-%patch48 -p1
-%patch49 -p1
-%patch50 -p1
-%patch51 -p1
-%patch52 -p1
-%patch53 -p1
+%patch -P47 -p1
+%patch -P72 -p1
+%endif
+%patch -P68 -p1
+%patch -P48 -p1
+%patch -P49 -p1
+%patch -P50 -p1
+%patch -P51 -p1
+%patch -P52 -p1
+%patch -P53 -p1
%undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
-%patch59 -p1
-%patch60 -p1
-%patch62 -p1
-%patch63 -p1
-%patch64 -p1
-%{?with_system_libzip:%patch65 -p1}
-%patch66 -p1
+%patch -P59 -p1
+%patch -P60 -p1
+%patch -P62 -p1
+%patch -P63 -p1
+%patch -P64 -p1
+%{?with_system_libzip:%patch -P65 -p1}
+%patch -P66 -p1
%{__rm} -r sapi/litespeed
gzip -dc %{SOURCE15} | tar xf - -C sapi/
-%patch67 -p1
-%patch70 -p1
-%patch71 -p1
-%patch73 -p1
-%patch74 -p1
-%patch75 -p1
-%patch76 -p1
-%patch77 -p1
-%patch78 -p1
-
-%patch220 -p1
-%patch221 -p1
-
-%patch247 -p1
-
-%patch249 -p1
-%patch250 -p1
-%patch251 -p1
-%patch252 -p1
-%patch253 -p1
-%patch254 -p1
-
-%patch256 -p1
-%patch257 -p1
-%patch258 -p1
+%patch -P67 -p1
+%patch -P70 -p1
+%patch -P71 -p1
+%patch -P73 -p1
+%patch -P74 -p1
+%patch -P75 -p1
+%patch -P76 -p1
+%patch -P77 -p1
+%patch -P78 -p1
+
+%patch -P220 -p1
+%patch -P221 -p1
+
+%patch -P247 -p1
+
+%patch -P249 -p1
+%patch -P250 -p1
+%patch -P251 -p1
+%patch -P252 -p1
+%patch -P253 -p1
+%patch -P254 -p1
+
+%patch -P256 -p1
+%patch -P257 -p1
+%patch -P258 -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/fa45464d430906614c2c00fb7f0736ecec41f51f
More information about the pld-cvs-commit
mailing list