From e1e94a9e4375f2f4806ff9404f1cfd31711b18bb Mon Sep 17 00:00:00 2001 From: Carl George Date: Fri, 11 Jan 2019 09:57:48 -0600 Subject: [PATCH] Ensure python3 subpackages are upgraded together ...since they share the pip3 bash completion file. --- python-pip.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python-pip.spec b/python-pip.spec index 27e57a5..54c072f 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -82,7 +82,9 @@ easy_installable should be pip-installable as well. %package -n python%{python3_pkgversion}-%{srcname} Summary: A tool for installing and managing Python3 packages Group: Development/Libraries - +# The python3 subpackages share the pip3 bash completion file, so force them to +# be upgraded together. +Conflicts: python%{python3_other_pkgversion}-%{srcname} < %{version}-%{release} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools %if 0%{?with_tests} @@ -112,6 +114,9 @@ easy_installable should be pip-installable as well. %if 0%{?with_python3} %package -n python%{python3_other_pkgversion}-%{srcname} Summary: A tool for installing and managing Python3 packages +# The python3 subpackages share the pip3 bash completion file, so force them to +# be upgraded together. +Conflicts: python%{python3_pkgversion}-%{srcname} < %{version}-%{release} BuildRequires: python%{python3_other_pkgversion}-devel BuildRequires: python%{python3_other_pkgversion}-setuptools %if 0%{?with_tests}