diff options
author | Remi Collet <remi@remirepo.net> | 2018-07-18 08:33:47 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-07-18 08:33:47 +0200 |
commit | 332aaba6ef7701a1c3ccfd0cc0103eef30124e78 (patch) | |
tree | bbe4f8466e30ef4faa8e1475317cf78abcfb367f /php-pecl-translit.spec | |
parent | b7770e11426abd8268ba84a7c7038fa052ba3ae7 (diff) |
rebuild for 7.3.0alpha4 new ABI
Diffstat (limited to 'php-pecl-translit.spec')
-rw-r--r-- | php-pecl-translit.spec | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/php-pecl-translit.spec b/php-pecl-translit.spec index 4acf784..7e65733 100644 --- a/php-pecl-translit.spec +++ b/php-pecl-translit.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-translit # -# Copyright (c) 2015-2017 Remi Collet +# Copyright (c) 2015-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -30,15 +30,14 @@ Summary: Transliterates non-latin character sets to latin Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 0.6.2 -Release: 6%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 7%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: BSD -Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} # Pull sources from github to get tests Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}%{?prever}-%{gh_short}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear %if %{with_tests} @@ -84,6 +83,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 @@ -134,6 +137,8 @@ EOF %build +%{?dtsenable} + cd NTS %{_bindir}/phpize %configure \ @@ -152,7 +157,7 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} +%{?dtsenable} make -C NTS install INSTALL_ROOT=%{buildroot} @@ -173,11 +178,7 @@ do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i done -%clean -rm -rf %{buildroot} - - -%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 @@ -238,7 +239,6 @@ REPORT_EXIT_STATUS=1 \ %files -%defattr(-, root, root, -) %{!?_licensedir:%doc %{pecl_docdir}/%{pecl_name}} %{?_licensedir:%license NTS/LICENSE} %{pecl_xmldir}/%{name}.xml @@ -253,6 +253,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 0.6.2-7 +- rebuild for 7.3.0alpha4 new ABI + * Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 0.6.2-6 - rebuild for PHP 7.2.0beta1 new API |