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}