From 31bf318258e7d17efe8fe5403fde39caefd3e766 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 19 Mar 2021 08:43:16 +0100 Subject: v1.0.7 --- php-pecl-pcov.spec | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) (limited to 'php-pecl-pcov.spec') diff --git a/php-pecl-pcov.spec b/php-pecl-pcov.spec index 0cdd34a..e6a6c59 100644 --- a/php-pecl-pcov.spec +++ b/php-pecl-pcov.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-pcov # -# Copyright (c) 2019 Remi Collet +# Copyright (c) 2019-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -14,13 +14,14 @@ Summary: Code coverage driver Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 1.0.6 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 1.0.7 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP -URL: http://pecl.php.net/package/%{pecl_name} -Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +URL: https://pecl.php.net/package/%{pecl_name} +Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz -BuildRequires: gcc +BuildRequires: make +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel > 7.1 BuildRequires: %{?scl_prefix}php-pear @@ -37,30 +38,20 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{rele 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 -%if "%{php_version}" > "7.1" -Obsoletes: php71u-pecl-%{pecl_name} <= %{version} -Obsoletes: php71w-pecl-%{pecl_name} <= %{version} -%endif %if "%{php_version}" > "7.2" Obsoletes: php72u-pecl-%{pecl_name} <= %{version} -Obsoletes: php72w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "7.3" Obsoletes: php73-pecl-%{pecl_name} <= %{version} -Obsoletes: php73w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "7.4" Obsoletes: php74-pecl-%{pecl_name} <= %{version} -Obsoletes: php74w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "8.0" +Obsoletes: php80-pecl-%{pecl_name} <= %{version} %endif - -%if 0%{?fedora} < 20 && 0%{?rhel} < 7 -# Filter private shared object -%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} -%{?filter_setup} %endif @@ -80,7 +71,6 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS - # Sanity check, really often broken extver=$(sed -n '/#define PHP_PCOV_VERSION/{s/.* "//;s/".*$//;p}' php_pcov.h) if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then @@ -227,6 +217,12 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Fri Mar 19 2021 Remi Collet - 1.0.7-1 +- update to 1.0.7 + +* Thu Nov 26 2020 Remi Collet - 1.0.6-4 +- add upstream patch for test suite with PHP 8 + * Tue Sep 03 2019 Remi Collet - 1.0.6-2 - rebuild for 7.4.0RC1 -- cgit