From 75aa7dfb8bc29606375a13445163394c3a98125a Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 12 Aug 2019 17:23:17 +0200 Subject: [PATCH] Drop python2-pillow-qt, python2-pillow-tk --- python-pillow.spec | 41 +++++------------------------------------ 1 file changed, 5 insertions(+), 36 deletions(-) diff --git a/python-pillow.spec b/python-pillow.spec index cfbf855..20cf0f2 100644 --- a/python-pillow.spec +++ b/python-pillow.spec @@ -14,7 +14,7 @@ Name: python-%{srcname} Version: 6.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python image processing library # License: see http://www.pythonware.com/products/pil/license.htm @@ -39,9 +39,7 @@ BuildRequires: python2-cffi BuildRequires: python2-devel BuildRequires: python2-numpy BuildRequires: python2-olefile -BuildRequires: python2-PyQt4 BuildRequires: python2-setuptools -BuildRequires: python2-tkinter %if 0%{?with_python3} BuildRequires: python3-cffi @@ -103,30 +101,6 @@ Provides: python2-imaging-devel = %{version}-%{release} Development files for %{srcname}. -%package -n python2-%{srcname}-tk -Summary: Tk interface for %{srcname} -Requires: python2-tkinter -Requires: python2-%{srcname}%{?_isa} = %{version}-%{release} -%{?python_provide:%python_provide python2-%{srcname}-tk} -Provides: python-imaging-tk = %{version}-%{release} -Provides: python2-imaging-tk = %{version}-%{release} - -%description -n python2-%{srcname}-tk -Tk interface for %{name}. - - -%package -n python2-%{srcname}-qt -Summary: Qt %{srcname} image wrapper -Requires: python2-PyQt4 -Requires: python2-%{srcname}%{?_isa} = %{version}-%{release} -%{?python_provide:%python_provide python2-%{srcname}-qt} -Provides: python-imaging-qt = %{version}-%{release} -Provides: python2-imaging-qt = %{version}-%{release} - -%description -n python2-%{srcname}-qt -Qt %{srcname} image wrapper. - - %if 0%{?with_python3} %package -n python3-%{srcname} Summary: Python 3 image processing library @@ -181,7 +155,7 @@ Tk interface for %{name}. %package -n python3-%{srcname}-qt Summary: Qt %{srcname} image wrapper -Requires: python3-PyQt4 +Requires: python3-qt5 Requires: python3-%{srcname}%{?_isa} = %{version}-%{release} %{?python_provide:%python_provide python3-%{srcname}-qt} Provides: python3-imaging-qt = %{version}-%{release} @@ -257,14 +231,6 @@ popd %files -n python2-%{srcname}-devel %{py2_incdir}/Imaging/ -%files -n python2-%{srcname}-tk -%{python2_sitearch}/PIL/_imagingtk* -%{python2_sitearch}/PIL/ImageTk* -%{python2_sitearch}/PIL/SpiderImagePlugin* - -%files -n python2-%{srcname}-qt -%{python2_sitearch}/PIL/ImageQt* - %if 0%{?with_python3} %files -n python3-%{srcname} %doc README.rst CHANGES.rst @@ -301,6 +267,9 @@ popd %changelog +* Mon Aug 12 2019 Sandro Mani - 6.1.0-3 +- Drop python2-pillow-qt, python2-pillow-tk + * Fri Jul 26 2019 Fedora Release Engineering - 6.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild