diff options
Diffstat (limited to 'php-pecl-rpminfo.spec')
-rw-r--r-- | php-pecl-rpminfo.spec | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/php-pecl-rpminfo.spec b/php-pecl-rpminfo.spec index 5841cf9..c96ecc4 100644 --- a/php-pecl-rpminfo.spec +++ b/php-pecl-rpminfo.spec @@ -23,11 +23,12 @@ Summary: RPM information Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 0.2.1 -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 URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +BuildRequires: %{?dtsprefix}gcc BuildRequires: rpm-devel >= 4.11.3 BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear @@ -57,6 +58,10 @@ Obsoletes: php71w-pecl-%{pecl_name} Obsoletes: php72u-pecl-%{pecl_name} Obsoletes: php72w-pecl-%{pecl_name} %endif +%if "%{php_version}" > "7.3" +Obsoletes: php73u-pecl-%{pecl_name} +Obsoletes: php73w-pecl-%{pecl_name} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -156,7 +161,7 @@ do install -Dpm 644 NTS/$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 @@ -221,6 +226,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 0.2.1-2 +- rebuild for 7.3.0alpha4 new ABI + * Mon Feb 12 2018 Remi Collet <remi@remirepo.net> - 0.2.1-1 - update to 0.2.1 (beta) |