From b78ba312b02b5706b35adc5bd2db3337b4e1a3fd Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 2 Feb 2021 07:06:30 +0100 Subject: EL-7 rebuild --- php-pecl-gnupg.spec | 39 +++++++++------------------------------ 1 file changed, 9 insertions(+), 30 deletions(-) diff --git a/php-pecl-gnupg.spec b/php-pecl-gnupg.spec index ff1d516..7cec4c6 100644 --- a/php-pecl-gnupg.spec +++ b/php-pecl-gnupg.spec @@ -1,6 +1,6 @@ # spec file for php-pecl-gnupg # -# Copyright (c) 2012-2018 Remi Collet +# Copyright (c) 2012-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -24,12 +24,13 @@ Summary: Wrapper around the gpgme library Name: %{?sub_prefix}php-pecl-gnupg Version: 1.4.0 -Release: 9%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 10%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: BSD -URL: http://pecl.php.net/package/gnupg -Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz +URL: https://pecl.php.net/package/gnupg +Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz +BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear @@ -59,7 +60,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{releas Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} %endif -%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} +%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} # Other third party repo stuff Obsoletes: php53-pecl-%{pecl_name} <= %{version} Obsoletes: php53u-pecl-%{pecl_name} <= %{version} @@ -95,12 +96,6 @@ Obsoletes: php74w-pecl-%{pecl_name} <= %{version} %endif %endif -%if 0%{?fedora} < 20 && 0%{?rhel} < 7 -# Filter shared private -%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} -%{?filter_setup} -%endif - %description This module allows you to interact with gnupg. @@ -211,17 +206,9 @@ fi %check -%if 0%{?fedora} >= 23 || 0%{?rhel} >= 8 sed -e '/GnuPG v1/d' \ -%else -sed -e 's:GnuPG v1.%d.%d (GNU/Linux):GnuPG v%s:' \ -%endif -i ?TS/tests/gnupg_*_export.phpt -%if 0%{?rhel} == 5 -# GnuPG seems to old -rm -f ?TS/tests/gnupg_{oo,res}_listsignatures.phpt -%endif unset GPG_AGENT_INFO cd NTS @@ -247,17 +234,6 @@ cd ../ZTS %{__ztsphp} -n -q \ -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ --modules | grep %{pecl_name} - -%if %{with_tests} -: Run upstream test suite for ZTS extension -TEST_PHP_EXECUTABLE=%{__ztsphp} \ -REPORT_EXIT_STATUS=1 \ -NO_INTERACTION=1 \ -%{__ztsphp} -n run-tests.php \ - -n -q \ - -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ - --show-diff -%endif %endif @@ -276,6 +252,9 @@ NO_INTERACTION=1 \ %changelog +* Tue Feb 2 2021 Remi Collet - 1.4.0-10 +- EL-7 rebuild + * Tue Sep 03 2019 Remi Collet - 1.4.0-9 - rebuild for 7.4.0RC1 -- cgit