From 15ea256cf778d7f9fe8c49ed07c004de1cc2983b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 10 Feb 2022 15:54:09 +0100 Subject: also ignore tests on F36 after database relocation --- php-pecl-rpminfo.spec | 12 ++++++++---- 1 file 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 - 0.6.0-4 +- also ignore tests on F36 after database relocation + * Tue Sep 28 2021 Remi Collet - 0.6.0-3 - add REFLECTION file to package documentation -- cgit