diff --git a/python-attrs.spec b/python-attrs.spec index 10728f1..0eead1b 100644 --- a/python-attrs.spec +++ b/python-attrs.spec @@ -1,16 +1,12 @@ -%global modname attrs - -%if 0%{?rhel} && 0%{?rhel} <= 7 -# Can't run tests on EPEL7 due to need for pytest >= 2.8 +# Disable tests on RHEL9 as to not pull in the test dependencies +# Specify --with tests to run the tests e.g. on EPEL %bcond_with tests -%else -# Turn the tests off when bootstrapping Python, because pytest requires attrs -%bcond_without tests -%endif + +%global modname attrs Name: python-attrs Version: 20.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python attributes without boilerplate License: MIT @@ -62,6 +58,9 @@ PYTHONPATH=%{buildroot}/%{python3_sitelib} py.test-3 -v %{python3_sitelib}/* %changelog +* Wed Mar 10 2021 Charalampos Stratakis - 20.3.0-3 +- Disable tests on RHEL9 to avoid pulling in the test dependencies + * Wed Jan 27 2021 Fedora Release Engineering - 20.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild