diff options
Diffstat (limited to 'php-pecl-radius.spec')
-rw-r--r-- | php-pecl-radius.spec | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/php-pecl-radius.spec b/php-pecl-radius.spec index fedcd2e..e146aed 100644 --- a/php-pecl-radius.spec +++ b/php-pecl-radius.spec @@ -3,7 +3,7 @@ # # Fedora spec file for php-pecl-radius # -# Copyright (c) 2009-2017 Remi Collet +# Copyright (c) 2009-2018 Remi Collet # Copyright (c) 2006-2009 Christopher Stone # # License: MIT @@ -32,15 +32,14 @@ Name: %{?sub_prefix}php-pecl-radius Version: 1.4.0 -Release: 0.4.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0.5.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Summary: Radius client library License: BSD -Group: Development/Languages URL: http://pecl.php.net/package/radius Source0: http://pecl.php.net/get/radius-%{version}%{?prever}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear # Used by test suite @@ -84,6 +83,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 @@ -133,6 +136,8 @@ cp -pr NTS ZTS %build +%{?dtsenable} + cd NTS %{_bindir}/phpize %configure --with-php-config=%{_bindir}/php-config @@ -147,7 +152,7 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} +%{?dtsenable} make -C NTS install INSTALL_ROOT=%{buildroot} @@ -208,7 +213,7 @@ REPORT_EXIT_STATUS=1 \ %endif -%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 @@ -228,12 +233,7 @@ fi %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{?_licensedir:%license NTS/LICENSE} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -248,6 +248,9 @@ rm -rf %{buildroot} %changelog +* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 1.4.0-0.5.b1 +- rebuild for 7.3.0alpha4 new ABI + * Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 1.4.0-0.4.b1 - rebuild for PHP 7.2.0beta1 new API |