diff --git a/python-pip.spec b/python-pip.spec index 9d5aeed..f705db1 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -1,6 +1,16 @@ +# The original RHEL 9 content set is defined by (build)dependencies +# of the packages in Fedora ELN. Hence we disable tests and documentation here +# to prevent pulling many unwanted packages in. +# Once the RHEL 9 content set is defined and/or RHEL 9 forks from ELN, +# the conditional can be removed from the Fedora spec file. +# We intentionally keep this enabled on EPEL. +%if 0%{?rhel} >= 9 && !0%{?epel} +%bcond_with tests +%bcond_with doc +%else %bcond_without tests - %bcond_without doc +%endif %global srcname pip %global base_version 20.2.4 @@ -17,7 +27,7 @@ Name: python-%{srcname} Version: %{base_version}%{?prerel:~%{prerel}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: A tool for installing and managing Python packages # We bundle a lot of libraries with pip, which itself is under MIT license. @@ -401,6 +411,9 @@ pytest_k='not completion and %{python_wheeldir}/%{python_wheelname} %changelog +* Fri Dec 04 2020 Miro Hrončok - 20.2.4-2 +- Disable tests and documentation in Fedora ELN (and RHEL) + * Mon Oct 19 2020 Lumír Balhar - 20.2.4-1 - Update to 20.2.4 (#1889112)