summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-04-24 14:58:32 +0200
committerRemi Collet <remi@remirepo.net>2019-04-24 14:58:32 +0200
commitaed594270266908da1a9f9ef812c13ca22818659 (patch)
tree311f4c7feaa34a4c8493082b2e4fe692e4e0b3d2
parentddca36526d4f1dc4efff8147ca4f3d0e70141cdc (diff)
switch back to v8-devel using compatibility package from nodejs
-rw-r--r--php-pecl-v8js.spec11
1 files changed, 5 insertions, 6 deletions
diff --git a/php-pecl-v8js.spec b/php-pecl-v8js.spec
index d747007..b61da24 100644
--- a/php-pecl-v8js.spec
+++ b/php-pecl-v8js.spec
@@ -20,14 +20,12 @@
Summary: V8 Javascript Engine for PHP
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 2.1.0
-Release: 4%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+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
-# Use libnode instead of libv8
-Patch1: %{pecl_name}-hack.patch
# See http://pkgs.fedoraproject.org/cgit/rpms/v8.git/tree/v8.spec#n74
ExclusiveArch: %{ix86} x86_64 %{arm} ppc mipsel mips64el
@@ -37,8 +35,7 @@ BuildRequires: %{?scl_prefix}php-pear
# because of https://bugzilla.redhat.com/1378889
# upstream minimal 4.6.76
# upstream recommended 6.5.143
-BuildRequires: nodejs-devel
-BuildRequires: nodejs(v8-abi) >= 6.5
+BuildRequires: v8-devel >= 6.5.143
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
@@ -95,7 +92,6 @@ sed -e 's/role="test"/role="src"/' \
cd NTS
%patch0 -p1 -b .upstream
-%patch1 -p1 -b .hack
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_V8JS_VERSION/{s/.* "//;s/".*$//;p}' php_v8js_macros.h)
@@ -246,6 +242,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Wed Apr 24 2019 Remi Collet <remi@remirepo.net> - 2.1.0-5
+- switch back to v8-devel using compatibility package from nodejs
+
* Wed Apr 24 2019 Remi Collet <remi@remirepo.net> - 2.1.0-4
- switch from v8-devel to nodejs-devel