Disable tests on RHEL9 to remove the test dependencies
This commit is contained in:
parent
d9a0f9c011
commit
dda9601e9d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user