summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-02-10 15:54:09 +0100
committerRemi Collet <remi@php.net>2022-02-10 15:54:09 +0100
commit15ea256cf778d7f9fe8c49ed07c004de1cc2983b (patch)
tree0318fc43a710a506c419657171ff5190b1592d90
parentcd2950b9306b5fceb1a407416725317daadbaa11 (diff)
also ignore tests on F36 after database relocation
-rw-r--r--php-pecl-rpminfo.spec12
1 files changed, 8 insertions, 4 deletions
diff --git a/php-pecl-rpminfo.spec b/php-pecl-rpminfo.spec
index aeccbe4..a571d7f 100644
--- a/php-pecl-rpminfo.spec
+++ b/php-pecl-rpminfo.spec
@@ -1,6 +1,6 @@
# remirepo spec file for php-pecl-rpminfo
#
-# Copyright (c) 2018-2021 Remi Collet
+# Copyright (c) 2018-2022 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -23,7 +23,7 @@
Summary: RPM information
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 0.6.0
-Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 4%{?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
@@ -173,8 +173,9 @@ fi
%check
-%if 0%{?fedora} < 33 && 0%{?rhel} < 9
-# mock install sqlite db, rpm expect db6 format
+%if 0%{?fedora} < 33 && 0%{?rhel} < 9 || 0%{?fedora} >= 36
+# OLD mock install sqlite db, rpm expect db6 format
+# NEW mock install in /usr/lib/sysimage/rpm instead of /var/lib/rpm
rm ?TS/tests/007-rpmdbinfo.phpt
rm ?TS/tests/008-rpmdbsearch.phpt
rm ?TS/tests/013-rpmdbsearch-error.phpt
@@ -224,6 +225,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Thu Feb 10 2022 Remi Collet <remi@remirepo.net> - 0.6.0-4
+- also ignore tests on F36 after database relocation
+
* Tue Sep 28 2021 Remi Collet <remi@remirepo.net> - 0.6.0-3
- add REFLECTION file to package documentation