diff options
author | Remi Collet <remi@remirepo.net> | 2018-07-18 06:00:18 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-07-18 06:00:18 +0200 |
commit | 1d2077ea2eacf6984c9e57e0070b61301a901a58 (patch) | |
tree | eac17826d5108c020ebbbd3f59d628aec3f955e8 | |
parent | 65a6bc0b0f2991b76ed7600dc3407a642573d50d (diff) |
rebuld for 7.3.0alpha4 new ABI
-rw-r--r-- | php-pecl-gnupg.spec | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/php-pecl-gnupg.spec b/php-pecl-gnupg.spec index 2c8f9e2..599a2cc 100644 --- a/php-pecl-gnupg.spec +++ b/php-pecl-gnupg.spec @@ -1,6 +1,6 @@ # spec file for php-pecl-gnupg # -# Copyright (c) 2012-2017 Remi Collet +# Copyright (c) 2012-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -24,14 +24,13 @@ Summary: Wrapper around the gpgme library Name: %{?sub_prefix}php-pecl-gnupg Version: 1.4.0 -Release: 4%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 5%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: BSD -Group: Development/Languages URL: http://pecl.php.net/package/gnupg 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 BuildRequires: gpgme-devel @@ -78,6 +77,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 @@ -127,6 +130,8 @@ cp -r NTS ZTS %build +%{?dtsenable} + export PHP_RPATH=no export CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64" export GPG1=$(which gpg1 2>/dev/null || which gpg) @@ -152,7 +157,7 @@ peclbuild zts-php %install -rm -rf %{buildroot} +%{?dtsenable} make install -C NTS 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 @@ -249,7 +250,6 @@ NO_INTERACTION=1 \ %files -%defattr(-, root, root, -) %{?_licensedir:%license NTS/LICENSE} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -264,6 +264,9 @@ NO_INTERACTION=1 \ %changelog +* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 1.4.0-5 +- rebuld for 7.3.0alpha4 new ABI + * Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 1.4.0-4 - rebuild for PHP 7.2.0beta1 new API |