Fix the tkinter dependency

tkinter should not be used as such, but even if it is, it means the python2
version, so the python3 package was broken.
This commit is contained in:
Miro Hrončok 2018-06-27 12:34:04 +02:00
parent c99bfb9f6a
commit ff154b20c3

View File

@ -14,7 +14,7 @@
Name: python-%{srcname} Name: python-%{srcname}
Version: 5.1.1 Version: 5.1.1
Release: 2%{?dist} Release: 3%{?dist}
Summary: Python image processing library Summary: Python image processing library
# License: see http://www.pythonware.com/products/pil/license.htm # License: see http://www.pythonware.com/products/pil/license.htm
@ -120,7 +120,7 @@ Documentation for %{srcname}.
%package -n python2-%{srcname}-tk %package -n python2-%{srcname}-tk
Summary: Tk interface for %{srcname} Summary: Tk interface for %{srcname}
Requires: tkinter Requires: python2-tkinter
Requires: python2-%{srcname}%{?_isa} = %{version}-%{release} Requires: python2-%{srcname}%{?_isa} = %{version}-%{release}
%{?python_provide:%python_provide python2-%{srcname}-tk} %{?python_provide:%python_provide python2-%{srcname}-tk}
Provides: python-imaging-tk = %{version}-%{release} Provides: python-imaging-tk = %{version}-%{release}
@ -184,7 +184,7 @@ Documentation for %{srcname}.
%package -n python3-%{srcname}-tk %package -n python3-%{srcname}-tk
Summary: Tk interface for %{srcname} Summary: Tk interface for %{srcname}
Requires: tkinter Requires: python3-tkinter
Requires: python3-%{srcname}%{?_isa} = %{version}-%{release} Requires: python3-%{srcname}%{?_isa} = %{version}-%{release}
%{?python_provide:%python_provide python3-%{srcname}-tk} %{?python_provide:%python_provide python3-%{srcname}-tk}
Provides: python3-imaging-tk = %{version}-%{release} Provides: python3-imaging-tk = %{version}-%{release}
@ -325,6 +325,9 @@ popd
%changelog %changelog
* Wed Jun 27 2018 Miro Hrončok <mhroncok@redhat.com> - 5.1.1-3
- Fix the tkinter dependency
* Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 5.1.1-2 * Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 5.1.1-2
- Rebuilt for Python 3.7 - Rebuilt for Python 3.7