summaryrefslogtreecommitdiffstats
path: root/php-pecl-rpminfo.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-rpminfo.spec')
-rw-r--r--php-pecl-rpminfo.spec14
1 files changed, 9 insertions, 5 deletions
diff --git a/php-pecl-rpminfo.spec b/php-pecl-rpminfo.spec
index 2fa5c19..c9c66fe 100644
--- a/php-pecl-rpminfo.spec
+++ b/php-pecl-rpminfo.spec
@@ -23,7 +23,7 @@
Summary: RPM information
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 0.5.1
-Release: 6%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 7%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
@@ -49,15 +49,15 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele
%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
-%if "%{php_version}" > "7.3"
-Obsoletes: php73-pecl-%{pecl_name} <= %{version}
-%endif
%if "%{php_version}" > "7.4"
Obsoletes: php74-pecl-%{pecl_name} <= %{version}
%endif
%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
@@ -169,7 +169,8 @@ fi
%check
-%if 0%{?fedora} >= 33
+%if 0%{?fedora} < 33 && 0%{?rhel} < 9
+# mock install sqlite db, rpm expect db6 format
rm ?TS/tests/007-rpmdbinfo.phpt
rm ?TS/tests/008-rpmdbsearch.phpt
%endif
@@ -218,6 +219,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Tue Jun 8 2021 Remi Collet <remi@remirepo.net> - 0.5.1-7
+- fix test suite
+
* Wed Sep 30 2020 Remi Collet <remi@remirepo.net> - 0.5.1-6
- rebuild for PHP 8.0.0RC1