diff options
Diffstat (limited to 'php-pecl-xxtea.spec')
-rw-r--r-- | php-pecl-xxtea.spec | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/php-pecl-xxtea.spec b/php-pecl-xxtea.spec index 48bb36d..d63c33f 100644 --- a/php-pecl-xxtea.spec +++ b/php-pecl-xxtea.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-xxtea # -# Copyright (c) 2013-2017 Remi Collet +# Copyright (c) 2013-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -22,13 +22,12 @@ Summary: XXTEA encryption algorithm extension for PHP Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.0.11 -Release: 5%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 6%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT -Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear @@ -69,6 +68,10 @@ Obsoletes: php71w-pecl-%{pecl_name} <= %{version} Obsoletes: php72u-pecl-%{pecl_name} <= %{version} Obsoletes: php72w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.3" +Obsoletes: php73u-pecl-%{pecl_name} <= %{version} +Obsoletes: php73w-pecl-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -122,6 +125,8 @@ EOF %build +%{?dtsenable} + cd NTS %{_bindir}/phpize %configure \ @@ -144,7 +149,7 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} +%{?dtsenable} make -C NTS install INSTALL_ROOT=%{buildroot} @@ -166,7 +171,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 @@ -217,12 +222,7 @@ REPORT_EXIT_STATUS=1 \ %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{?_licensedir:%license NTS/LICENSE.md} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -237,6 +237,9 @@ rm -rf %{buildroot} %changelog +* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 1.0.11-6 +- rebuild for 7.3.0alpha4 new ABI + * Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 1.0.11-5 - rebuild for PHP 7.2.0beta1 new API |