This commit is contained in:
centos2020 2020-05-21 15:17:06 +03:00
parent 95a35a4e2b
commit 25b92871a6

View file

@ -7,8 +7,6 @@
# pybasever without the dot:
%global pyshortver 37
%global __python3 /usr/bin/python3.7
Name: python3
Summary: Interpreter of the Python programming language
URL: https://www.python.org/
@ -40,7 +38,7 @@ License: Python
# Whether to use RPM build wheels from the python-{pip,setuptools}-wheel package
# Uses upstream bundled prebuilt wheels otherwise
%bcond_with rpmwheels
%bcond_without rpmwheels
# Expensive optimizations (mainly, profile-guided optimizations)
%ifarch %{ix86} x86_64
@ -340,8 +338,8 @@ Obsoletes: platform-python < %{platpyver}
# Previously, this was required for our rewheel patch to work.
# This is technically no longer needed, but we keep it recommended
# for the developer experience.
#Recommends: python3-setuptools
#Recommends: python3-pip
Recommends: python3-setuptools
Recommends: python3-pip
# This prevents ALL subpackages built from this spec to require
# /usr/bin/python3*. Granularity per subpackage is impossible.
@ -387,7 +385,7 @@ Provides: bundled(python3-setuptools) = 41.2.0
# We've filtered the automatic requirement out so libs are installable without
# the main package. This however makes it pulled in by default.
# See https://bugzilla.redhat.com/show_bug.cgi?id=1547131
#Recommends: %{name}%{?_isa} = %{version}-%{release}
Recommends: %{name}%{?_isa} = %{version}-%{release}
# Shall be removed in Fedora 31
Obsoletes: platform-python-libs < %{platpyver}