|
|
|
@ -13,8 +13,8 @@
|
|
|
|
|
%global with_docs 1
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
|
Version: 6.1.0
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 6.2.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Python image processing library
|
|
|
|
|
|
|
|
|
|
# License: see http://www.pythonware.com/products/pil/license.htm
|
|
|
|
@ -51,7 +51,7 @@ BuildRequires: python3-setuptools
|
|
|
|
|
%if 0%{?with_docs}
|
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
BuildRequires: python3-sphinx_rtd_theme
|
|
|
|
|
%endif # with_docs
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: python3-tkinter
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@ -136,7 +136,7 @@ BuildArch: noarch
|
|
|
|
|
Requires: python3-%{srcname} = %{version}-%{release}
|
|
|
|
|
%{?python_provide:%python_provide python3-%{srcname}-doc}
|
|
|
|
|
Provides: python3-imaging-doc = %{version}-%{release}
|
|
|
|
|
Obsoletes: python2-%{srcname}-doc
|
|
|
|
|
Obsoletes: python2-%{srcname}-doc < 5.4.1-4
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{srcname}-doc
|
|
|
|
|
Documentation for %{srcname}.
|
|
|
|
@ -180,7 +180,7 @@ Qt %{srcname} image wrapper.
|
|
|
|
|
%if 0%{?with_docs}
|
|
|
|
|
PYTHONPATH=$PWD/build/%py3_libbuilddir make -C docs html BUILDDIR=_build_py3 SPHINXBUILD=sphinx-build-%python3_version
|
|
|
|
|
rm -f docs/_build_py3/html/.buildinfo
|
|
|
|
|
%endif # with_docs
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -251,7 +251,7 @@ popd
|
|
|
|
|
%files -n python3-%{srcname}-doc
|
|
|
|
|
%if 0%{?with_docs}
|
|
|
|
|
%doc docs/_build_py3/html
|
|
|
|
|
%endif # with_docs
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{srcname}-tk
|
|
|
|
|
%{python3_sitearch}/PIL/_imagingtk*
|
|
|
|
@ -267,6 +267,9 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 01 2019 Sandro Mani <manisandro@gmail.com> - 6.2.0-1
|
|
|
|
|
- Update to 6.2.0
|
|
|
|
|
|
|
|
|
|
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 6.1.0-4
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
|
|
|
|