Disable tests on RHEL9 to remove the test dependencies

This commit is contained in:
Charalampos Stratakis 2021-03-08 19:00:12 +01:00
parent d9a0f9c011
commit dda9601e9d

View File

@ -1,3 +1,7 @@
# Tests are disabled to remove the test dependencies
# Specify --with tests to run the tests on e.g. EPEL
%bcond_with tests
%global pypi_name packaging
# Specify --with bootstrap to build in bootstrap mode
@ -9,16 +13,13 @@
# Specify --without docs to prevent the dependency loop on python-sphinx
%bcond_without docs
# Specify --without tests to prevent the dependency loop on python-pytest
%bcond_without tests
%else
%bcond_with docs
%bcond_with tests
%endif
Name: python-%{pypi_name}
Version: 20.9
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Core utilities for Python packages
License: BSD or ASL 2.0
@ -133,6 +134,9 @@ echo '%{python3_sitelib}/packaging*' > %{pyproject_files}
%changelog
* Mon Mar 08 2021 Charalampos Stratakis <cstratak@redhat.com> - 20.9-2
- Disable tests on RHEL9 to remove the test dependencies
* Mon Feb 01 2021 Lumír Balhar <lbalhar@redhat.com> - 20.9-1
- Update to 20.9
Resolves: rhbz#1922545