diff options
-rw-r--r-- | php-pecl-v8js.spec | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/php-pecl-v8js.spec b/php-pecl-v8js.spec index 5e96977..9955bac 100644 --- a/php-pecl-v8js.spec +++ b/php-pecl-v8js.spec @@ -20,7 +20,7 @@ Summary: V8 Javascript Engine for PHP Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 2.1.0 -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} @@ -28,6 +28,7 @@ Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz # 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 @@ -172,7 +173,7 @@ do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i done -%if 0%{?fedora} < 24 +%if 0%{?fedora} < 24 && 0%{?rhel} < 8 # when pear installed alone, after us %triggerin -- %{?scl_prefix}php-pear if [ -x %{__pecl} ] ; then @@ -237,6 +238,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Fri Sep 7 2018 Remi Collet <remi@remirepo.net> - 2.1.0-2 +- rebuild + * Mon Jan 8 2018 Remi Collet <remi@remirepo.net> - 2.1.0-1 - Update to 2.1.0 |