diff --git a/python3.11-pip.spec b/python3.11-pip.spec index 88a3df6..3980fc1 100644 --- a/python3.11-pip.spec +++ b/python3.11-pip.spec @@ -48,7 +48,7 @@ Summary: A tool for installing and managing Python packages License: MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD) URL: https://pip.pypa.io/ Source0: https://github.com/pypa/pip/archive/%{upstream_version}/%{srcname}-%{upstream_version}.tar.gz -%if 0%{?rhel} == 8 + # To generate the man pages for RHEL8 on a system with Python >= 3.7 # rhpkg prep # cd into the pip folder @@ -57,7 +57,7 @@ Source0: https://github.com/pypa/pip/archive/%{upstream_version}/%{srcnam # tar -czf pip-22.3.1-man.tar.gz --exclude=".[^/]*" -v docs/build/man # mv pip-22.3.1-man.tar.gz .. Source1: pip-%{base_version}-man.tar.gz -%endif #rhel8 + BuildArch: noarch # Prevent removing of the system packages installed under /usr/lib