diff options
author | Remi Collet <remi@remirepo.net> | 2018-07-18 08:45:30 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-07-18 08:45:30 +0200 |
commit | d5f7af57e2bd8846d59467fb6fed8603f9a9a207 (patch) | |
tree | 37c3648023e3ea854d50decebef207224c4f6b32 | |
parent | a01349929a68acb43bef6d01c0e1d2e634a7310d (diff) |
rebuild for 7.3.0alpha4 new ABI
-rw-r--r-- | php-pecl-xattr.spec | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/php-pecl-xattr.spec b/php-pecl-xattr.spec index ae3302a..84625d5 100644 --- a/php-pecl-xattr.spec +++ b/php-pecl-xattr.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-xattr # -# 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: Extended attributes Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.3.0 -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: PHP -Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{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 @@ -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 @@ -118,6 +121,8 @@ EOF %build +%{?dtsenable} + cd NTS %{_bindir}/phpize %configure \ @@ -138,7 +143,7 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} +%{?dtsenable} make -C NTS install INSTALL_ROOT=%{buildroot} @@ -160,7 +165,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 @@ -210,12 +215,7 @@ REPORT_EXIT_STATUS=1 \ %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{?_licensedir:%license NTS/LICENSE} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -230,6 +230,9 @@ rm -rf %{buildroot} %changelog +* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 1.3.0-6 +- rebuild for 7.3.0alpha4 new ABI + * Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 1.3.0-5 - rebuild for PHP 7.2.0beta1 new API |