[packages/php-pear-PEAR] pecl: remove -n flag
glen
glen at pld-linux.org
Thu Jul 16 09:55:36 CEST 2020
commit 91dc6544381e9cd494008640a369cf7c888e8152
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Thu Jul 16 10:52:18 2020 +0300
pecl: remove -n flag
on POSIX no such locking problems appear
php-pear-PEAR.spec | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/php-pear-PEAR.spec b/php-pear-PEAR.spec
index f6ef416..8069db2 100644
--- a/php-pear-PEAR.spec
+++ b/php-pear-PEAR.spec
@@ -151,10 +151,9 @@ cat > $RPM_BUILD_ROOT%{_bindir}/peardev <<'EOF'
%php_exec -dopen_basedir="" -dmemory_limit=-1 %{php_pear_dir}/pearcmd.php "$@"
EOF
# This -dextension=pcre.so works with php-5.1, and patched php-cli >= 4:5.0.5-18.1, php4-cli >= 3:4.4.1-6.1
-# -n is there because devs on #pear said this avoids locking problems when replacing in use libraries.
cat > $RPM_BUILD_ROOT%{_bindir}/pecl <<'EOF'
#!/bin/sh
-%php_exec -dmemory_limit=64M -dsafe_mode=0 -n -dextension=xml.so %{php_pear_dir}/peclcmd.php "$@"
+%php_exec -dmemory_limit=64M -dsafe_mode=0 -dextension=xml.so %{php_pear_dir}/peclcmd.php "$@"
EOF
# for rpm to find interpreter
chmod +x $RPM_BUILD_ROOT%{_bindir}/*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pear-PEAR.git/commitdiff/caafccd71150550cae9ccbfac98235994ec7351f
More information about the pld-cvs-commit
mailing list