[packages/php] do not update magic db on ac, ac file is older
glen
glen at pld-linux.org
Thu Jan 31 12:24:47 CET 2013
commit f70f3b09907c7fc2fa02144d9e63a44b4b638a95
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Jan 31 13:24:17 2013 +0200
do not update magic db on ac, ac file is older
php.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/php.spec b/php.spec
index a3b762c..92ae10b 100644
--- a/php.spec
+++ b/php.spec
@@ -1958,13 +1958,17 @@ cp -p php.ini-production php.ini
%{__rm} -r sapi/litespeed
gzip -dc %{SOURCE15} | tar xf - -C sapi/
%patch67 -p1
+%if "%{pld_release}" != "ac"
%patch68 -p1
+%endif
sed -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
+%if "%{pld_release}" != "ac"
# somewhy php devs have embedded magic database into php extension. yuck!
# rebuild data file for now
mv ext/fileinfo/data_file.c{,.php-src}
+%endif
# cleanup backups after patching
find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/f70f3b09907c7fc2fa02144d9e63a44b4b638a95
More information about the pld-cvs-commit
mailing list