summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-03-12 06:18:34 +0100
committerRemi Collet <fedora@famillecollet.com>2017-03-12 06:18:34 +0100
commit1a938f8fb49d1eb24d5aefb26ae066bbe543c6e5 (patch)
tree4104804c17761a90d32e49f16737d34f243cb78b
parent12129f6d2465e1bd1357265af4b4d10ec1e89fda (diff)
php-doctrine-dbal: sync with Fedora
-rw-r--r--php-pecl-v8js.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-v8js.spec b/php-pecl-v8js.spec
index 19065b6..bef5aa4 100644
--- a/php-pecl-v8js.spec
+++ b/php-pecl-v8js.spec
@@ -18,12 +18,14 @@
Summary: V8 Javascript Engine for PHP
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 1.3.5
-Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
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#n49
# arm is excluded because of bz1334406
ExclusiveArch: %{ix86} x86_64 ppc ppc64 aarch64 %{mips} s390 s390x
@@ -80,6 +82,8 @@ 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
@@ -234,6 +238,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Sun Mar 12 2017 Remi Collet <remi@remirepo.net> - 1.3.5-2
+- add upstream for F26 (GCC 7)
+
* Sat Mar 11 2017 Remi Collet <remi@remirepo.net> - 1.3.5-1
- Update to 1.3.5