diff --git a/Pillow-8.4.0.tar.gz b/Pillow-8.4.0.tar.gz deleted file mode 100644 index a0afadd..0000000 --- a/Pillow-8.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b8e2f83c56e141920c39464b852de3719dfbfb6e3c99a2d8da0edf4fb33176ed -size 49368411 diff --git a/Pillow-9.0.1.tar.gz b/Pillow-9.0.1.tar.gz new file mode 100644 index 0000000..e57d499 --- /dev/null +++ b/Pillow-9.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c8bc8238a7dfdaf7a75f5ec5a663f4173f8c367e5a39f87e720495e1eed75fa +size 49514914 diff --git a/python-Pillow.changes b/python-Pillow.changes index a151ba5..30c5621 100644 --- a/python-Pillow.changes +++ b/python-Pillow.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Thu Feb 3 20:00:39 UTC 2022 - Arun Persaud + +- update to version 9.0.1: + * In show_file, use os.remove to remove temporary + images. CVE-2022-24303 #6010 [radarhere, hugovk] + * Restrict builtins within lambdas for + ImageMath.eval. CVE-2022-22817 #6009 [radarhere] + +------------------------------------------------------------------- +Tue Jan 4 21:06:31 UTC 2022 - Ben Greiner + +- Don't try to build on unsupported Python 3.6 +- Remove python2 statements from specfile + +------------------------------------------------------------------- +Mon Jan 3 08:31:45 UTC 2022 - Michael Ströder + +- update to 9.0.0 + * Dropped support for Python 3.6 + * PILLOW_VERSION has been removed. Use __version__ instead. + * Support for FreeType 2.7 has been removed; FreeType 2.8 is the minimum supported. + * Image.show command parameter has been removed. Use a subclass of PIL.ImageShow.Viewer instead. + * Image._showxv has been removed. Use show() instead. + * ImageFile.raise_ioerror: IOError was merged into OSError in Python 3.3. + * So, ImageFile.raise_ioerror has been removed. Use ImageFile.raise_oserror instead. + * An optional line width parameter has been added to ImageDraw.Draw.polygon. + * API Addition: If xdg-open is present on Linux, this new PIL.ImageShow.Viewer subclass + will be registered. It displays images using the application selected by the system. + * Added support for “title” argument to DisplayViewer + ------------------------------------------------------------------- Sat Oct 30 20:25:05 UTC 2021 - Dirk Müller diff --git a/python-Pillow.spec b/python-Pillow.spec index ea15a99..3e73349 100644 --- a/python-Pillow.spec +++ b/python-Pillow.spec @@ -1,7 +1,7 @@ # # spec file for package python-Pillow # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,17 @@ # -%define oldpython python +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python36 1 Name: python-Pillow -Version: 8.4.0 +Version: 9.0.1 Release: 0 Summary: Python Imaging Library (Fork) License: HPND URL: https://python-pillow.org/ Source: https://files.pythonhosted.org/packages/source/P/Pillow/Pillow-%{version}.tar.gz -BuildRequires: %{python_module devel} +BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module olefile} BuildRequires: %{python_module pytest >= 4.0} BuildRequires: %{python_module setuptools} @@ -51,14 +51,6 @@ Provides: python-imaging = %{version} %if 0%{?suse_version} >= 1500 BuildRequires: pkgconfig(libopenjp2) %endif -%ifpython2 -# Pillow is a friendly PIL fork which we used to package as 'imaging' -# Without providing python-imaging, all packages requiring it will break -Obsoletes: %{oldpython}-imaging < %{version} -Provides: %{oldpython}-imaging = %{version} -Obsoletes: %{oldpython}-imaging-sane < %{version} -Provides: %{oldpython}-imaging-sane = %{version} -%endif %python_subpackages %description @@ -69,15 +61,6 @@ Python Imaging Library by Fredrik Lundh and Contributors. Summary: Python Imaging Library (Fork) - Tcl/Tk Module Requires: %{name} = %{version} Requires: python-tk -%ifpython2 -# NOTE: We don't need to conflict with python-imaging here, -# because this package depends on python-Pillow, which already conflicts with python-imaging, -# so this cannot be installed alongside python-imaging -# And we cannot conflict with python-imaging directly, since python-Pillow provides python-imaging -# Just in case, conflict with python-imaging-tk in case it is ever implemented. -Obsoletes: %{oldpython}-imaging-tk < %{version} -Provides: %{oldpython}-imaging-tk = %{version} -%endif %description tk Pillow is the "friendly" PIL fork by Alex Clark and Contributors. PIL is the