summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--zephir.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/zephir.spec b/zephir.spec
index de3b430..9e212d1 100644
--- a/zephir.spec
+++ b/zephir.spec
@@ -26,7 +26,7 @@
Name: %{?scl_prefix}%{gh_project}
Version: 0.12.7
-Release: 2%{?gh_date:.%{gh_date}.%{gh_short}}%{?dist}
+Release: 3%{?gh_date:.%{gh_date}.%{gh_short}}%{?dist}
Summary: Zephir language for creation of extensions for PHP.
License: MIT
@@ -239,7 +239,12 @@ EOF
mv %{gh_project} %{gh_project}.php
cat << 'EOF' | tee zephir.sh
#!/bin/sh
-%{_bindir}/php -d memory_limit=2G -d extension=zephir_parser.so %{_datadir}/%{gh_project}/%{gh_project}.php $*
+%{_bindir}/php \
+ -d timecop.func_override=0 \
+ -d memory_limit=2G \
+ -d extension=zephir_parser.so \
+ %{_datadir}/%{gh_project}/%{gh_project}.php $*
+EOF
%build
@@ -332,6 +337,10 @@ esac
%changelog
+* Fri Oct 4 2019 Remi Collet <remi@remirepo.net> - 0.12.7-3
+- disable timecop extension in launcher
+ see https://github.com/phalcon/cphalcon/issues/14446
+
* Fri Oct 4 2019 Remi Collet <remi@remirepo.net> - 0.12.7-2
- add upstream patches for 1946 and 1949