%check like this is a CI
This commit is contained in:
parent
a14a3d77e9
commit
85fa344f2e
@ -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 <mhroncok@redhat.com> - 5.8.0-14
|
||||
- Relax testing assumptions when building the package
|
||||
- Fixes: rhbz#2049426
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.8.0-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user