From 85fa344f2ec315f01818f618140532af8cd6aefb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 9 Jun 2022 15:37:29 +0200 Subject: [PATCH] %check like this is a CI --- python-psutil.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/python-psutil.spec b/python-psutil.spec index 31985db..fe5b857 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 5.8.0 -Release: 13%{?dist} +Release: 14%{?dist} Summary: %{sum} License: BSD @@ -75,7 +75,11 @@ done %if ! 0%{?flatpak} %check -make test CI_TESTING=1 PYTHON=%{__python3} PYTHONPATH=%{buildroot}/%{python3_sitearch} +# Setting APPVEYOR to convince the test suite this is a CI. +# That way, some unreliable tests are skipped and some timeouts are extended. +# Previously, this was done by the CI_TESTING variable, but that works no more. +# Alternative is to set GITHUB_ACTIONS but that has undesirable side effects. +make test APPVEYOR=1 PYTHON=%{__python3} PYTHONPATH=%{buildroot}/%{python3_sitearch} %endif %files -n python%{python3_pkgversion}-%{srcname} @@ -90,6 +94,10 @@ make test CI_TESTING=1 PYTHON=%{__python3} PYTHONPATH=%{buildroot}/%{python3_sit %changelog +* Thu Jun 09 2022 Miro HronĨok - 5.8.0-14 +- Relax testing assumptions when building the package +- Fixes: rhbz#2049426 + * Fri Jan 21 2022 Fedora Release Engineering - 5.8.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild