summaryrefslogtreecommitdiffstats
path: root/php-pecl-csv.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-csv.spec')
-rw-r--r--php-pecl-csv.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/php-pecl-csv.spec b/php-pecl-csv.spec
index bc501d8..4419cc4 100644
--- a/php-pecl-csv.spec
+++ b/php-pecl-csv.spec
@@ -21,7 +21,7 @@
Summary: CSV PHP extension
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 0.4.0
+Version: 0.4.1
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
URL: https://pecl.php.net/package/%{proj_name}
@@ -54,6 +54,9 @@ Obsoletes: php74-pecl-%{pecl_name} <= %{version}
%if "%{php_version}" > "8.0"
Obsoletes: php80-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "8.1"
+Obsoletes: php81-pecl-%{pecl_name} <= %{version}
+%endif
%endif
@@ -148,7 +151,7 @@ cd NTS
: Minimal load test for NTS extension
%{__php} --no-php-ini \
--define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
- --modules | grep -i %{pecl_name}
+ --modules | grep -i '^%{pecl_name}$'
: Upstream test suite for NTS extension
TEST_PHP_EXECUTABLE=%{_bindir}/php \
@@ -162,7 +165,7 @@ cd ../ZTS
: Minimal load test for ZTS extension
%{__ztsphp} --no-php-ini \
--define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
- --modules | grep -i %{pecl_name}
+ --modules | grep -i '^%{pecl_name}$'
: Upstream test suite for ZTS extension
TEST_PHP_EXECUTABLE=%{__ztsphp} \
@@ -208,6 +211,9 @@ fi
%changelog
+* Mon Sep 6 2021 Remi Collet <remi@remirepo.net> - 0.4.1-1
+- update to 0.4.1
+
* Tue Feb 23 2021 Remi Collet <remi@remirepo.net> - 0.4.0-1
- update to 0.4.0
- raise dependency on PHP 8