Ensure python3 subpackages are upgraded together

...since they share the pip3 bash completion file.
This commit is contained in:
Carl George 2019-01-11 09:57:48 -06:00
commit e1e94a9e43

View file

@ -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}