summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-v8js.spec21
1 files changed, 11 insertions, 10 deletions
diff --git a/php-pecl-v8js.spec b/php-pecl-v8js.spec
index b61da24..0503336 100644
--- a/php-pecl-v8js.spec
+++ b/php-pecl-v8js.spec
@@ -19,23 +19,18 @@
Summary: V8 Javascript Engine for PHP
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 2.1.0
+Version: 2.1.1
Release: 5%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-Patch0: %{pecl_name}-upstream.patch
-
# See http://pkgs.fedoraproject.org/cgit/rpms/v8.git/tree/v8.spec#n74
ExclusiveArch: %{ix86} x86_64 %{arm} ppc mipsel mips64el
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pear
-# because of https://bugzilla.redhat.com/1378889
-# upstream minimal 4.6.76
-# upstream recommended 6.5.143
-BuildRequires: v8-devel >= 6.5.143
+BuildRequires: v8-devel >= 1:6.9
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
@@ -61,9 +56,13 @@ Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
%endif
%if "%{php_version}" > "7.3"
-Obsoletes: php73u-pecl-%{pecl_name} <= %{version}
+Obsoletes: php73-pecl-%{pecl_name} <= %{version}
Obsoletes: php73w-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.4"
+Obsoletes: php74-pecl-%{pecl_name} <= %{version}
+Obsoletes: php74w-pecl-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -91,8 +90,6 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-%patch0 -p1 -b .upstream
-
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_V8JS_VERSION/{s/.* "//;s/".*$//;p}' php_v8js_macros.h)
if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then
@@ -242,6 +239,10 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Tue Jun 25 2019 Remi Collet <remi@remirepo.net> - 2.1.1-1
+- update to 2.1.1
+- raise dependency on v8 6.9
+
* Wed Apr 24 2019 Remi Collet <remi@remirepo.net> - 2.1.0-5
- switch back to v8-devel using compatibility package from nodejs