]> git.pld-linux.org Git - packages/php.git/blobdiff - php.spec
fix shebang
[packages/php.git] / php.spec
index 144349f71baf6392e327480a4c3e7edc8e67bdee..ed662e3c1b4130ef12d6af60359274f68bc3f5a7 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -140,7 +140,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 %undefine      with_filter
 %endif
 
-%define                rel     17
+%define                rel     20
 %define                orgname php
 %define                ver_suffix 55
 %define                php_suffix %{!?with_default_php:%{ver_suffix}}
@@ -2090,6 +2090,9 @@ exit 1
 %patch67 -p1
 %patch70 -p1
 
+sed -E -i -e '1s,#!\s*/usr/bin/env\s+(.*),#!%{__bindir}\1,' \
+      run-tests.php
+
 %{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
 
 # cleanup backups after patching
This page took 0.026713 seconds and 4 git commands to generate.