f324085
%global py2_incdir %(python -c 'import distutils.sysconfig; print(distutils.sysconfig.get_python_inc())')
f324085
%global py3_incdir %(python3 -c 'import distutils.sysconfig; print(distutils.sysconfig.get_python_inc())')
13f3cb9
%global py2_libbuilddir %(python -c 'import sys; import sysconfig; print("lib.{p}-{v[0]}.{v[1]}".format(p=sysconfig.get_platform(), v=sys.version_info))')
13f3cb9
%global py3_libbuilddir %(python3 -c 'import sys; import sysconfig; print("lib.{p}-{v[0]}.{v[1]}".format(p=sysconfig.get_platform(), v=sys.version_info))')
08526f0
08526f0
%global name3 python3-pillow
dbe2bd3
# bootstrap building docs (pillow is required by docutils, docutils are
dbe2bd3
#  required by sphinx; pillow build-requires sphinx)
bdb7819
%global with_docs 1
13f3cb9
13f3cb9
# RHEL-7 doesn't have python 3
13f3cb9
%if 0%{?rhel} == 7
13f3cb9
  %global with_python3 0
13f3cb9
%else
13f3cb9
  %global with_python3 1
13f3cb9
%endif
08526f0
08526f0
# Refer to the comment for Source0 below on how to obtain the source tarball
f324085
# The saved file has format python-pillow-Pillow-$version-$ahead-g$shortcommit.tar.gz
1b8f64e
%global commit 0222a059d62723fe056daa17f007f87dc46595b4
08526f0
%global shortcommit %(c=%{commit}; echo ${c:0:7})
13f3cb9
%global ahead 0
9087d6f
9087d6f
# If ahead is 0, the tarball corresponds to a release version, otherwise to a git snapshot
9087d6f
%if %{ahead} > 0
9087d6f
%global snap .git%{shortcommit}
9087d6f
%endif
08526f0
08526f0
Name:           python-pillow
1b8f64e
Version:        2.8.2
f5fa4f5
Release:        5%{?snap}%{?dist}
8823227
Summary:        Python image processing library
08526f0
08526f0
# License: see http://www.pythonware.com/products/pil/license.htm
08526f0
License:        MIT
2cd2018
URL:            http://python-pillow.github.io/
08526f0
08526f0
# Obtain the tarball for a certain commit via:
2cd2018
#  wget --content-disposition https://github.com/python-pillow/Pillow/tarball/$commit
e9b7f54
Source0:        https://github.com/python-pillow/Pillow/tarball/%{commit}/python-pillow-Pillow-%{version}-%{ahead}-g%{shortcommit}.tar.gz
08526f0
5e932d8
# Backport: Input parameter filtering
5e932d8
Patch0:         28fd74742bd03647a5f772a508ef17f6cd8c2bf4.patch
5e932d8
# Backport: Fix integer overflow in Resample.c
5e932d8
Patch1:         41fae6d9e2da741d2c5464775c7f1a609ea03798.patch
5e932d8
# Backport: PCD decoder overruns the shuffle buffer
5e932d8
Patch2:         5bdf54b5a76b54fb00bd05f2d733e0a4173eefc9.patch
5e932d8
Source1:        hopper.pcd
5e932d8
# Backport: Fix for buffer overflow in TiffDecode.c CVE-2016-0740
5e932d8
Patch3:         6dcbf5bd96b717c58d7b642949da8d323099928e.patch
5e932d8
Source2:        libtiff_segfault.tif
5e932d8
# Backport: FLI overflow error fix and testcase CVE-2016-0775
5e932d8
Patch4:         bcaaf97f4ff25b3b5b9e8efeda364e17e80858ec.patch
5e932d8
Source3:        fli_overflow.fli
f5fa4f5
# Backport: j2k integer overflow error on encode CVE-2016-3076
f5fa4f5
Patch5:         a1f244343df389cf15cdfff80327594821097295.patch
5e932d8
08526f0
BuildRequires:  tk-devel
08526f0
BuildRequires:  libjpeg-devel
08526f0
BuildRequires:  zlib-devel
08526f0
BuildRequires:  freetype-devel
bcbb5e7
BuildRequires:  lcms2-devel
fad0f36
BuildRequires:  ghostscript
9f4ae1e
BuildRequires:  openjpeg2-devel
9087d6f
BuildRequires:  libwebp-devel
f324085
BuildRequires:  libtiff-devel
ba5f93b
ba5f93b
BuildRequires:  python2-devel
ba5f93b
BuildRequires:  python-setuptools
ba5f93b
BuildRequires:  tkinter
8823227
BuildRequires:  PyQt4
8823227
BuildRequires:  numpy
dbe2bd3
%if 0%{?with_docs}
ba5f93b
BuildRequires:  python-sphinx
ba5f93b
BuildRequires:  python-sphinx-theme-better
dbe2bd3
%endif # with_docs
9f4ae1e
BuildRequires:  python-cffi
08526f0
08526f0
%if %{with_python3}
08526f0
BuildRequires:  python3-devel
08526f0
BuildRequires:  python3-setuptools
08526f0
BuildRequires:  python3-tkinter
8823227
BuildRequires:  python3-PyQt4
8823227
BuildRequires:  python3-numpy
dbe2bd3
%if 0%{?with_docs}
9a3acab
BuildRequires:  python3-sphinx
c52ccae
BuildRequires:  python3-sphinx-theme-better
dbe2bd3
%endif # with_docs
9f4ae1e
BuildRequires:  python3-cffi
08526f0
%endif
08526f0
ba5f93b
# For EpsImagePlugin.py
ba5f93b
Requires:       ghostscript
ba5f93b
08526f0
Provides:       python-imaging = %{version}-%{release}
08526f0
Obsoletes:      python-imaging <= 1.1.7-12
08526f0
08526f0
%filter_provides_in %{python_sitearch}
08526f0
%filter_provides_in %{python3_sitearch}
08526f0
%filter_setup
08526f0
08526f0
%description
08526f0
Python image processing library, fork of the Python Imaging Library (PIL)
08526f0
08526f0
This library provides extensive file format support, an efficient
08526f0
internal representation, and powerful image processing capabilities.
08526f0
f324085
There are four subpackages: tk (tk interface), qt (PIL image wrapper for Qt),
f324085
devel (development) and doc (documentation).
08526f0
08526f0
08526f0
%package devel
08526f0
Summary:        Development files for %{name}
08526f0
Group:          Development/Libraries
08526f0
Requires:       %{name}%{?_isa} = %{version}-%{release}
08526f0
Requires:       python-devel, libjpeg-devel, zlib-devel
08526f0
Provides:       python-imaging-devel = %{version}-%{release}
08526f0
Obsoletes:      python-imaging-devel <= 1.1.7-12
08526f0
08526f0
%description devel
08526f0
Development files for %{name}.
08526f0
08526f0
08526f0
%package doc
08526f0
Summary:        Documentation for %{name}
08526f0
Group:          Documentation
08526f0
Requires:       %{name} = %{version}-%{release}
08526f0
BuildArch:      noarch
08526f0
08526f0
%description doc
08526f0
Documentation for %{name}.
08526f0
08526f0
08526f0
%package tk
08526f0
Summary:        Tk interface for %{name}
08526f0
Group:          System Environment/Libraries
08526f0
Requires:       %{name}%{?_isa} = %{version}-%{release}
08526f0
Requires:       tkinter
08526f0
Provides:       python-imaging-tk = %{version}-%{release}
08526f0
Obsoletes:      python-imaging-tk <= 1.1.7-12
08526f0
08526f0
%description tk
08526f0
Tk interface for %{name}.
08526f0
8823227
%package qt
8823227
Summary:        PIL image wrapper for Qt
8823227
Group:          System Environment/Libraries
8823227
Requires:       %{name}%{?_isa} = %{version}-%{release}
8823227
Requires:       PyQt4
8823227
Provides:       python-imaging-qt = %{version}-%{release}
8823227
8823227
%description qt
8823227
PIL image wrapper for Qt.
8823227
08526f0
08526f0
%if %{with_python3}
08526f0
%package -n %{name3}
08526f0
Summary:        Python 3 image processing library
29b0e8d
Provides:       python3-imaging = %{version}-%{release}
08526f0
08526f0
%description -n %{name3}
4d739af
Python image processing library, fork of the Python Imaging Library (PIL)
4d739af
4d739af
This library provides extensive file format support, an efficient
4d739af
internal representation, and powerful image processing capabilities.
4d739af
4d739af
There are four subpackages: tk (tk interface), qt (PIL image wrapper for Qt),
4d739af
devel (development) and doc (documentation).
08526f0
08526f0
08526f0
%package -n %{name3}-devel
08526f0
Summary:        Development files for %{name3}
08526f0
Group:          Development/Libraries
08526f0
Requires:       %{name3}%{?_isa} = %{version}-%{release}
08526f0
Requires:       python3-devel, libjpeg-devel, zlib-devel
08526f0
08526f0
%description -n %{name3}-devel
08526f0
Development files for %{name3}.
08526f0
08526f0
08526f0
%package -n %{name3}-doc
08526f0
Summary:        Documentation for %{name3}
08526f0
Group:          Documentation
08526f0
Requires:       %{name3} = %{version}-%{release}
08526f0
BuildArch:      noarch
08526f0
08526f0
%description -n %{name3}-doc
08526f0
Documentation for %{name3}.
08526f0
08526f0
08526f0
%package -n %{name3}-tk
08526f0
Summary:        Tk interface for %{name3}
08526f0
Group:          System Environment/Libraries
08526f0
Requires:       %{name3}%{?_isa} = %{version}-%{release}
fdc6f53
Requires:       python3-tkinter
08526f0
08526f0
%description -n %{name3}-tk
08526f0
Tk interface for %{name3}.
8823227
8823227
%package -n %{name3}-qt
8823227
Summary:        PIL image wrapper for Qt
8823227
Group:          System Environment/Libraries
8823227
Requires:       %{name3}%{?_isa} = %{version}-%{release}
8823227
Requires:       python3-PyQt4
8823227
8823227
%description -n %{name3}-qt
8823227
PIL image wrapper for Qt.
8823227
08526f0
%endif
08526f0
08526f0
08526f0
%prep
a7b312f
%setup -q -n python-pillow-Pillow-%{shortcommit}
5e932d8
%patch0 -p1
5e932d8
%patch1 -p1
5e932d8
%patch2 -p1
5e932d8
%patch3 -p1
5e932d8
%patch4 -p1
f5fa4f5
%patch5 -p1
5e932d8
cp -a %{SOURCE1} Tests/images/hopper.pcd
5e932d8
cp -a %{SOURCE2} Tests/images/libtiff_segfault.tif
5e932d8
cp -a %{SOURCE3} Tests/images/fli_overflow.fli
08526f0
7eba531
# Strip shebang on non-executable file
7eba531
sed -i 1d PIL/OleFileIO.py
7eba531
7eba531
# Fix file encoding
7eba531
iconv --from=ISO-8859-1 --to=UTF-8 PIL/WalImageFile.py > PIL/WalImageFile.py.new && \
7eba531
touch -r PIL/WalImageFile.py PIL/WalImageFile.py.new && \
7eba531
mv PIL/WalImageFile.py.new PIL/WalImageFile.py
7eba531
f324085
# Make sample scripts non-executable
f324085
chmod -x Scripts/diffcover-run.sh
f324085
chmod -x Scripts/diffcover-install.sh
f324085
08526f0
%if %{with_python3}
08526f0
# Create Python 3 source tree
08526f0
rm -rf %{py3dir}
08526f0
cp -a . %{py3dir}
08526f0
%endif
08526f0
08526f0
08526f0
%build
08526f0
# Build Python 2 modules
08526f0
find -name '*.py' | xargs sed -i '1s|^#!.*python|#!%{__python}|'
08526f0
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
08526f0
dbe2bd3
%if 0%{?with_docs}
08526f0
pushd docs
9a3acab
PYTHONPATH=$PWD/../build/%py2_libbuilddir make html
08526f0
rm -f _build/html/.buildinfo
08526f0
popd
dbe2bd3
%endif # with_docs
08526f0
08526f0
%if %{with_python3}
08526f0
# Build Python 3 modules
08526f0
pushd %{py3dir}
08526f0
find -name '*.py' | xargs sed -i '1s|^#!.*python|#!%{__python3}|'
08526f0
CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
08526f0
dbe2bd3
%if 0%{?with_docs}
08526f0
pushd docs
9a3acab
PYTHONPATH=$PWD/../build/%py3_libbuilddir make html SPHINXBUILD=sphinx-build-%python3_version
08526f0
rm -f _build/html/.buildinfo
08526f0
popd
dbe2bd3
%endif # with_docs
08526f0
popd
08526f0
%endif
08526f0
08526f0
08526f0
%install
08526f0
# Install Python 2 modules
957ca9c
install -d %{buildroot}/%{py2_incdir}/Imaging
957ca9c
install -m 644 libImaging/*.h %{buildroot}/%{py2_incdir}/Imaging
957ca9c
%{__python} setup.py install --skip-build --root %{buildroot}
08526f0
7eba531
# Fix non-standard-executable-perm
7eba531
chmod 0755 %{buildroot}%{python_sitearch}/PIL/*.so
7eba531
08526f0
%if %{with_python3}
08526f0
# Install Python 3 modules
08526f0
pushd %{py3dir}
957ca9c
install -d %{buildroot}/%{py3_incdir}/Imaging
957ca9c
install -m 644 libImaging/*.h %{buildroot}/%{py3_incdir}/Imaging
957ca9c
%{__python3} setup.py install --skip-build --root %{buildroot}
08526f0
popd
7eba531
7eba531
# Fix non-standard-executable-perm
7eba531
chmod 0755 %{buildroot}%{python3_sitearch}/PIL/*.so
08526f0
%endif
08526f0
08526f0
# The scripts are packaged in %%doc
957ca9c
rm -rf %{buildroot}%{_bindir}
08526f0
08526f0
08526f0
%check
08526f0
# Check Python 2 modules
13f3cb9
ln -s $PWD/Images $PWD/build/%py2_libbuilddir/Images
13f3cb9
cp -R $PWD/Tests $PWD/build/%py2_libbuilddir/Tests
13f3cb9
cp -R $PWD/selftest.py $PWD/build/%py2_libbuilddir/selftest.py
13f3cb9
pushd build/%py2_libbuilddir
9f4ae1e
PYTHONPATH=$PWD %{__python} selftest.py
08526f0
popd
08526f0
08526f0
%if %{with_python3}
08526f0
# Check Python 3 modules
08526f0
pushd %{py3dir}
13f3cb9
ln -s $PWD/Images $PWD/build/%py3_libbuilddir/Images
13f3cb9
cp -R $PWD/Tests $PWD/build/%py3_libbuilddir/Tests
13f3cb9
cp -R $PWD/selftest.py $PWD/build/%py3_libbuilddir/selftest.py
13f3cb9
pushd build/%py3_libbuilddir
9f4ae1e
PYTHONPATH=$PWD %{__python3} selftest.py
08526f0
popd
08526f0
popd
08526f0
%endif
08526f0
08526f0
08526f0
%files
f324085
%doc README.rst CHANGES.rst
f324085
%license docs/COPYING
08526f0
%{python_sitearch}/*
8823227
# These are in subpackages
13f3cb9
%exclude %{python_sitearch}/PIL/_imagingtk*
08526f0
%exclude %{python_sitearch}/PIL/ImageTk*
08526f0
%exclude %{python_sitearch}/PIL/SpiderImagePlugin*
8823227
%exclude %{python_sitearch}/PIL/ImageQt*
08526f0
08526f0
%files devel
08526f0
%{py2_incdir}/Imaging/
08526f0
08526f0
%files doc
8de9c97
%doc Scripts
dbe2bd3
%if 0%{?with_docs}
a5633ae
%doc docs/_build/html
dbe2bd3
%endif # with_docs
08526f0
08526f0
%files tk
13f3cb9
%{python_sitearch}/PIL/_imagingtk*
08526f0
%{python_sitearch}/PIL/ImageTk*
08526f0
%{python_sitearch}/PIL/SpiderImagePlugin*
08526f0
8823227
%files qt
8823227
%{python_sitearch}/PIL/ImageQt*
8823227
08526f0
%if %{with_python3}
08526f0
%files -n %{name3}
f324085
%doc README.rst CHANGES.rst
f324085
%license docs/COPYING
08526f0
%{python3_sitearch}/*
8823227
# These are in subpackages
13f3cb9
%exclude %{python3_sitearch}/PIL/_imagingtk*
08526f0
%exclude %{python3_sitearch}/PIL/ImageTk*
08526f0
%exclude %{python3_sitearch}/PIL/SpiderImagePlugin*
8823227
%exclude %{python3_sitearch}/PIL/ImageQt*
08526f0
08526f0
%files -n %{name3}-devel
08526f0
%{py3_incdir}/Imaging/
08526f0
08526f0
%files -n %{name3}-doc
f79b936
%doc Scripts
dbe2bd3
%if 0%{?with_docs}
dbe2bd3
%doc docs/_build/html
dbe2bd3
%endif # with_docs
08526f0
08526f0
%files -n %{name3}-tk
13f3cb9
%{python3_sitearch}/PIL/_imagingtk*
08526f0
%{python3_sitearch}/PIL/ImageTk*
08526f0
%{python3_sitearch}/PIL/SpiderImagePlugin*
8823227
8823227
%files -n %{name3}-qt
8823227
%{python3_sitearch}/PIL/ImageQt*
8823227
08526f0
%endif
08526f0
08526f0
%changelog
f5fa4f5
* Fri Apr 01 2016 Sandro Mani <manisandro@gmail.com> - 2.8.2-5
f5fa4f5
- Backport: j2k integer overflow error on encode (CVE-2016-3076)
f5fa4f5
4d739af
* Wed Feb 10 2016 Sandro Mani <manisandro@gmail.com> - 2.8.2-4
4d739af
- Fix broken python3-pillow package description
4d739af
5e932d8
* Thu Feb 04 2016 Sandro Mani <manisandro@gmail.com> - 2.8.2-3
5e932d8
- Backport: Input parameter filtering
5e932d8
- Backport: Fix integer overflow in Resample.c
5e932d8
- Backport: PCD decoder overruns the shuffle buffer
5e932d8
- Backport: Fix for buffer overflow in TiffDecode.c CVE-2016-0740
5e932d8
- Backport: FLI overflow error fix and testcase CVE-2016-0775
5e932d8
fdc6f53
* Wed Jul 29 2015 Sandro Mani <manisandro@gmail.com> - 2.8.2-2
fdc6f53
- Fix python3-pillow-tk Requires: tkinter -> python3-tkinter (#1248085)
fdc6f53
1b8f64e
* Mon Jun 08 2015 Sandro Mani <manisandro@gmail.com> - 2.8.2-1
1b8f64e
- Update to 2.8.2
1b8f64e
51fae54
* Thu Apr 02 2015 Sandro Mani <manisandro@gmail.com> - 2.8.1-1
51fae54
- Update to 2.8.1
51fae54
506a4f0
* Wed Apr 01 2015 Sandro Mani <manisandro@gmail.com> - 2.8.0-1
506a4f0
- Update to 2.8.0
506a4f0
f324085
* Mon Jan 12 2015 Sandro Mani <manisandro@gmail.com> - 2.7.0-1
4ff0eac
- Update to 2.7.0
f324085
- Drop sane subpackage, is in python-sane now
f324085
- Fix python3 headers directory
f324085
- Drop Obsoletes: python3-pillow on python3-pillow-qt
4ff0eac
cfb328c
* Mon Oct 13 2014 Sandro Mani <manisandro@gmail.com> - 2.6.1-1
cfb328c
- Update to 2.6.1
cfb328c
7eba531
* Thu Oct 02 2014 Sandro Mani <manisandro@gmail.com> - 2.6.0-1
7eba531
- Update to 2.6.0
7eba531
775b3a4
* Wed Aug 20 2014 Sandro Mani <manisandro@gmail.com> - 2.5.3-3
775b3a4
- Rebuilding again to resolve transient build error that caused BZ#1131723
775b3a4
ef7aa31
* Tue Aug 19 2014 Stephen Gallagher <sgallagh@redhat.com> - 2.5.3-2
ef7aa31
- Rebuilding to resolve transient build error that caused BZ#1131723
ef7aa31
bfc51aa
* Tue Aug 19 2014 Sandro Mani <manisandro@gmail.com> - 2.5.3-1
bfc51aa
- Update to 2.5.3 (Fix CVE-2014-3598, a DOS in the Jpeg2KImagePlugin)
bfc51aa
6bc59a1
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.2-2
6bc59a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
6bc59a1
45c6065
* Wed Aug 13 2014 Sandro Mani <manisandro@gmail.com> - 2.5.2-1
45c6065
- Update to 2.5.2 (Fix CVE-2014-3589, a DOS in the IcnsImagePlugin)
45c6065
92e3ea4
* Sat Jul 26 2014 Sandro Mani <manisandro@gmail.com> - 2.5.1-2
92e3ea4
- Reenable jpeg2k tests on big endian arches
92e3ea4
907e54f
* Tue Jul 15 2014 Sandro Mani <manisandro@gmail.com> - 2.5.1-1
907e54f
- Update to 2.5.1
907e54f
e9b7f54
* Wed Jul 02 2014 Sandro Mani <manisandro@gmail.com> - 2.5.0-1
e9b7f54
- Update to 2.5.0
e9b7f54
2bc5ed6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-11
2bc5ed6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2bc5ed6
92e3ea4
* Wed May 28 2014 Sandro Mani <manisandro@gmail.com> - 2.4.0-10
bdb7819
- Rebuild with docs enabled
bdb7819
- Update python-pillow_openjpeg-2.1.0.patch
bdb7819
db39066
* Tue May 27 2014 Sandro Mani <manisandro@gmail.com> - 2.4.0-9
db39066
- Rebuild against openjpeg-2.1.0
db39066
8fb8aca
* Fri May 23 2014 Dan Horák <dan[at]danny.cz> - 2.4.0-8
8fb8aca
- skip jpeg2k tests on big endian arches (#1100762)
8fb8aca
b8cd4a1
* Wed May 21 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.0-7
b8cd4a1
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
b8cd4a1
a5633ae
* Tue May 13 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.4.0-6
a5633ae
- Set with_docs to 1 to build docs.
a5633ae
dbe2bd3
* Tue May 13 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.4.0-5
dbe2bd3
- Bootstrap building sphinx docs because of circular dependency with sphinx.
dbe2bd3
Orion Poplawski 9a237ab
* Fri May  9 2014 Orion Poplawski <orion@cora.nwra.com> - 2.4.0-4
Orion Poplawski 9a237ab
- Rebuild for Python 3.4
Orion Poplawski 9a237ab
c98c21d
* Tue Apr 22 2014 Sandro Mani <manisandro@gmail.com> - 2.4.0-3
c98c21d
- Add patch: Have the tempfile use a suffix with a dot
c98c21d
9f4ae1e
* Thu Apr 17 2014 Sandro Mani <manisandro@gmail.com> - 2.4.0-2
9f4ae1e
- Enable Jpeg2000 support
9f4ae1e
- Enable webp support also on s390* archs, bug #962091 is now fixed
9f4ae1e
- Add upstream patch for ghostscript detection
9f4ae1e
876b5e8
* Wed Apr 02 2014 Sandro Mani <manisandro@gmail.com> - 2.4.0-1
876b5e8
- Update to 2.4.0
876b5e8
876b5e8
* Wed Mar 19 2014 Sandro Mani <manisandro@gmail.com> - 2.3.1-1
80090e2
- Update to 2.3.1 (Fix insecure use of tempfile.mktemp (CVE-2014-1932 CVE-2014-1933))
80090e2
29b0e8d
* Thu Mar 13 2014 Jakub Dorňák <jdornak@redhat.com> - 2.3.0-5
29b0e8d
- python-pillow does not provide python3-imaging
29b0e8d
  (python3-pillow does)
29b0e8d
ba5f93b
* Tue Jan 07 2014 Sandro Mani <manisandro@gmail.com> - 2.3.0-4
ba5f93b
- Add missing ghostscript Requires and BuildRequires
ba5f93b
c52ccae
* Mon Jan 06 2014 Sandro Mani <manisandro@gmail.com> - 2.3.0-3
c52ccae
- Remove python-pillow_help-theme.patch, add python-sphinx-theme-better BR
c52ccae
acc60b5
* Sun Jan 05 2014 Sandro Mani <manisandro@gmail.com> - 2.3.0-2
bcbb5e7
- Rebuild with docs enabled
bcbb5e7
- Change lcms BR to lcms2
9a3acab
957ca9c
* Thu Jan 02 2014 Sandro Mani <manisandro@gmail.com> - 2.3.0-1
957ca9c
- Update to 2.3.0
4a6eafb
- Build with doc disabled to break circular python-pillow -> python-sphinx -> python pillow dependency
957ca9c
87e5e92
* Wed Oct 23 2013 Sandro Mani <manisandro@gmail.com> - 2.2.1-2
87e5e92
- Backport fix for decoding tiffs with correct byteorder, fixes rhbz#1019656
87e5e92
98c429c
* Wed Oct 02 2013 Sandro Mani <manisandro@gmail.com> - 2.2.1-1
98c429c
- Update to 2.2.1
98c429c
- Really enable webp on ppc, but leave disabled on s390
98c429c
4889461
* Thu Aug 29 2013 Sandro Mani <manisandro@gmail.com> - 2.1.0-4
4889461
- Add patch to fix incorrect PyArg_ParseTuple tuple signature, fixes rhbz#962091 and rhbz#988767.
4889461
- Renable webp support on bigendian arches
4889461
979b61e
* Wed Aug 28 2013 Sandro Mani <manisandro@gmail.com> - 2.1.0-3
979b61e
- Add patch to fix memory corruption caused by invalid palette size, see rhbz#1001122
979b61e
d65f67c
* Tue Jul 30 2013 Karsten Hopp <karsten@redhat.com> 2.1.0-2
d65f67c
- Build without webp support on ppc* archs (#988767)
d65f67c
13f3cb9
* Wed Jul 03 2013 Sandro Mani <manisandro@gmail.com> - 2.1.0-1
13f3cb9
- Update to 2.1.0
13f3cb9
- Run tests in builddir, not installroot
13f3cb9
- Build python3-pillow docs with python3
13f3cb9
- python-pillow_endian.patch upstreamed
13f3cb9
13f3cb9
* Mon May 13 2013 Roman Rakus <rrakus@redhat.com> - 2.0.0-10
13f3cb9
- Build without webp support on s390* archs
13f3cb9
  Resolves: rhbz#962059
13f3cb9
13f3cb9
* Sat May 11 2013 Roman Rakus <rrakus@redhat.com> - 2.0.0-9.gitd1c6db8
13f3cb9
- Conditionaly disable build of python3 parts on RHEL system
13f3cb9
4b2a1a0
* Wed May 08 2013 Sandro Mani <manisandro@gmail.com> - 2.0.0-8.gitd1c6db8
4b2a1a0
- Add patch to fix test failure on big-endian
4b2a1a0
9fec1ad
* Thu Apr 25 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 2.0.0-7.gitd1c6db8
9fec1ad
- Remove Obsoletes in the python-pillow-qt subpackage. Obsoletes isn't
9fec1ad
  appropriate since qt support didn't exist in the previous python-pillow
9fec1ad
  package so there's no reason to drag in python-pillow-qt when updating
9fec1ad
  python-pillow.
9fec1ad
8823227
* Fri Apr 19 2013 Sandro Mani <manisandro@gmail.com> - 2.0.0-6.gitd1c6db8
8823227
- Update to latest git
8823227
- python-pillow_quantization.patch now upstream
8823227
- python-pillow_endianness.patch now upstream
8823227
- Add subpackage for ImageQt module, with correct dependencies
8823227
- Add PyQt4 and numpy BR (for generating docs / running tests)
8823227
da3613d
* Mon Apr 08 2013 Sandro Mani <manisandro@gmail.com> - 2.0.0-5.git93a488e
da3613d
- Reenable tests on bigendian, add patches for #928927
da3613d
c216b5f
* Sun Apr 07 2013 Sandro Mani <manisandro@gmail.com> - 2.0.0-4.git93a488e
c216b5f
- Update to latest git
c216b5f
- disable tests on bigendian (PPC*, S390*) until rhbz#928927 is fixed
c216b5f
62bc370
* Fri Mar 22 2013 Sandro Mani <manisandro@gmail.com> - 2.0.0-3.gitde210a2
62bc370
- python-pillow_tempfile.patch now upstream
62bc370
- Add python3-imaging provides (bug #924867)
62bc370
68e0c58
* Fri Mar 22 2013 Sandro Mani <manisandro@gmail.com> - 2.0.0-2.git2e88848
68e0c58
- Update to latest git
68e0c58
- Remove python-pillow-disable-test.patch, gcc is now fixed
e43050c
- Add python-pillow_tempfile.patch to prevent a temporary file from getting packaged
68e0c58
9087d6f
* Tue Mar 19 2013 Sandro Mani <manisandro@gmail.com> - 2.0.0-1.git2f4207c
9087d6f
- Update to 2.0.0 git snapshot
9087d6f
- Enable python3 packages
9087d6f
- Add libwebp-devel BR for Pillow 2.0.0
9087d6f
1e23b47
* Wed Mar 13 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.7.8-6.20130305git
1e23b47
- Add ARM support
1e23b47
5a7afea
* Tue Mar 12 2013 Karsten Hopp <karsten@redhat.com> 1.7.8-5.20130305git
5a7afea
- add s390* and ppc* to arch detection
5a7afea
08526f0
* Tue Mar 05 2013 Sandro Mani <manisandro@gmail.com> - 1.7.8-4.20130305git7866759
08526f0
- Update to latest git snapshot
08526f0
- 0001-Cast-hash-table-values-to-unsigned-long.patch now upstream
08526f0
- Pillow-1.7.8-selftest.patch now upstream
08526f0
08526f0
* Mon Feb 25 2013 Sandro Mani <manisandro@gmail.com> - 1.7.8-3.20130210gite09ff61
08526f0
- Really remove -fno-strict-aliasing
08526f0
- Place comment on how to retreive source just above the Source0 line
08526f0
08526f0
* Mon Feb 18 2013 Sandro Mani <manisandro@gmail.com> - 1.7.8-2.20130210gite09ff61
08526f0
- Rebuild without -fno-strict-aliasing
08526f0
- Add patch for upstream issue #52
08526f0
08526f0
* Sun Feb 10 2013 Sandro Mani <manisandro@gmail.com> - 1.7.8-1.20130210gite09ff61
08526f0
- Initial RPM package