]> git.pld-linux.org Git - packages/php.git/commitdiff
- pass our rpmldflags as EXTRA_LDFLAGS for as-needed (avoids unnecessary linking) auto/th/php70-7.0.6-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 15 May 2016 13:06:10 +0000 (15:06 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 15 May 2016 13:06:10 +0000 (15:06 +0200)
- release 2

php.spec

index 637bba2c898e3982b8d750e498d80157b6a09a09..35ad8e6cdc1f16a1e15f3d80ffd67d51c3d92369 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -146,7 +146,7 @@ Summary(ru.UTF-8):  PHP Версии 7 - язык препроцессирова
 Summary(uk.UTF-8):     PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
 Name:          %{orgname}%{php_suffix}
 Version:       7.0.6
-Release:       1
+Release:       2
 Epoch:         4
 # All files licensed under PHP version 3.01, except
 # Zend is licensed under Zend
@@ -2013,7 +2013,7 @@ exit 1
 %patch71 -p1
 %patch72 -p1
 
-sed -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
+%{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
 
 # cleanup backups after patching
 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
@@ -2281,6 +2281,7 @@ for sapi in $sapis; do
        esac
 
        %configure \
+       EXTRA_LDFLAGS="%{rpmldflags}" \
        $sapi_args \
 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
        --cache-file=config.cache \
This page took 0.067039 seconds and 4 git commands to generate.