summaryrefslogtreecommitdiffstats
path: root/php-pecl-pcov.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-pcov.spec')
-rw-r--r--php-pecl-pcov.spec21
1 files changed, 7 insertions, 14 deletions
diff --git a/php-pecl-pcov.spec b/php-pecl-pcov.spec
index a64d1ce..ff7413e 100644
--- a/php-pecl-pcov.spec
+++ b/php-pecl-pcov.spec
@@ -14,7 +14,7 @@
Summary: Code coverage driver
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 1.0.10
+Version: 1.0.11
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
URL: https://pecl.php.net/package/%{pecl_name}
@@ -33,19 +33,9 @@ Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-%if "%{?scl_prefix}" != "%{?sub_prefix}"
-Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
-Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
-%endif
%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
-%if "%{php_version}" > "7.2"
-Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "7.3"
-Obsoletes: php73-pecl-%{pecl_name} <= %{version}
-%endif
%if "%{php_version}" > "7.4"
Obsoletes: php74-pecl-%{pecl_name} <= %{version}
%endif
@@ -59,7 +49,7 @@ Obsoletes: php81-pecl-%{pecl_name} <= %{version}
%description
-A self contained php-code-coverage compatible driver for PHP7.
+A self contained php-code-coverage compatible driver for PHP.
Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}.
@@ -179,7 +169,7 @@ fi
cd NTS
%{_bindir}/php --no-php-ini \
--define extension=modules/%{pecl_name}.so \
- --modules | grep %{pecl_name}
+ --modules | grep '^%{pecl_name}$'
: Upstream test suite for NTS extension
TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \
@@ -192,7 +182,7 @@ REPORT_EXIT_STATUS=1 \
cd ../ZTS
%{__ztsphp} --no-php-ini \
--define extension=modules/%{pecl_name}.so \
- --modules | grep %{pecl_name}
+ --modules | grep '^%{pecl_name}$'
: Upstream test suite for ZTS extension
TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \
@@ -216,6 +206,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Mon Dec 20 2021 Remi Collet <remi@remirepo.net> - 1.0.11-1
+- update to 1.0.11
+
* Wed Nov 24 2021 Remi Collet <remi@remirepo.net> - 1.0.10-1
- update to 1.0.10