diff options
-rw-r--r-- | zephir-rpm.patch | 4 | ||||
-rw-r--r-- | zephir.spec | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/zephir-rpm.patch b/zephir-rpm.patch index 43e36a5..52039be 100644 --- a/zephir-rpm.patch +++ b/zephir-rpm.patch @@ -26,8 +26,8 @@ diff -up bin/zephir.rpm bin/zephir if [ ! -z $1 ] && [ ! -z $2 ] && [ ! -z $3 ] && [ "$1" = "-c" ]; then - php -c $2 $ZEPHIRDIR/compiler.php ${*:3} -+ @BINDIR@/php -d memory_limit=1G -d extension=zephir_parser.so -c $2 $ZEPHIRDIR/compiler.php ${*:3} ++ @BINDIR@/php -d timecop.func_override=0 -d memory_limit=1G -d extension=zephir_parser.so -c $2 $ZEPHIRDIR/compiler.php ${*:3} else - php $ZEPHIRDIR/compiler.php $* -+ @BINDIR@/php -d memory_limit=1G -d extension=zephir_parser.so $ZEPHIRDIR/compiler.php $* ++ @BINDIR@/php -d timecop.func_override=0 -d memory_limit=1G -d extension=zephir_parser.so $ZEPHIRDIR/compiler.php $* fi diff --git a/zephir.spec b/zephir.spec index b89fdd1..8249ecd 100644 --- a/zephir.spec +++ b/zephir.spec @@ -31,7 +31,7 @@ Name: %{?scl_prefix}%{gh_project} Version: 0.10.3 -Release: 1%{?gh_date:.%{gh_date}.%{gh_short}}%{?dist} +Release: 2%{?gh_date:.%{gh_date}.%{gh_short}}%{?dist} Summary: Zephir language for creation of extensions for PHP. Group: Development/Languages @@ -160,6 +160,10 @@ sh ./bin/%{gh_project}.test version | grep %{version} %changelog +* Fri Oct 13 2017 Remi Collet <remi@remirepo.net> - 0.10.3-2 +- disable timecop which breaks zephir + see https://github.com/phalcon/zephir/pull/1588 + * Fri Oct 13 2017 Remi Collet <remi@remirepo.net> - 0.10.3-1 - version 0.10.3 - raise dependency on php-zephir-parser 1.1.0 |