]> git.pld-linux.org Git - packages/php.git/commitdiff
do not update magic db on ac, ac file is older
authorElan Ruusamäe <glen@delfi.ee>
Thu, 31 Jan 2013 11:24:17 +0000 (13:24 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 31 Jan 2013 11:24:17 +0000 (13:24 +0200)
php.spec

index a3b762c881b2eeb115e6c49ff0566c810093d6d4..92ae10bd1fc5228f09b4cc670842e71f74cfe2a8 100644 (file)
--- 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
This page took 0.388987 seconds and 4 git commands to generate.