From 22039e02dc66fc86bfd55ac69deeeec6e1aeeffd Mon Sep 17 00:00:00 2001 From: kkz Date: Thu, 3 Mar 2022 14:28:43 +0800 Subject: [PATCH 1/2] remove some unnecessary buildrequires --- python-pillow.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python-pillow.spec b/python-pillow.spec index d86e049..9e87fff 100644 --- a/python-pillow.spec +++ b/python-pillow.spec @@ -32,10 +32,11 @@ Patch6014: backport-CVE-2021-23437.patch Patch9000: backport-disable-test-sanity.patch -BuildRequires: freetype-devel ghostscript lcms2-devel libimagequant-devel libjpeg-devel libraqm-devel libtiff-devel -BuildRequires: libwebp-devel openjpeg2-devel tk-devel zlib-devel python3-cffi python3-devel python3-numpy python3-olefile -BuildRequires: python3-qt5 python3-setuptools python3-tkinter gcc -BuildRequires: python3-pytest +BuildRequires: libjpeg-devel gcc python3-pytest python3-devel +#BuildRequires: freetype-devel ghostscript lcms2-devel libimagequant-devel libjpeg-devel libraqm-devel libtiff-devel +#BuildRequires: libwebp-devel openjpeg2-devel tk-devel zlib-devel python3-cffi python3-devel python3-numpy python3-olefile +#BuildRequires: python3-qt5 python3-setuptools python3-tkinter gcc +#BuildRequires: python3-pytest %if 0%{?with_docs} BuildRequires: make BuildRequires: python3-sphinx -- Gitee From ff36987a32bcc559ae9ff68505053e83eb6f3237 Mon Sep 17 00:00:00 2001 From: kkz Date: Thu, 3 Mar 2022 14:48:03 +0800 Subject: [PATCH 2/2] remove some unnecessary buildrequires --- python-pillow.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python-pillow.spec b/python-pillow.spec index 9e87fff..f7962e1 100644 --- a/python-pillow.spec +++ b/python-pillow.spec @@ -1,12 +1,12 @@ %global py3_incdir %(python3 -c 'import distutils.sysconfig; print(distutils.sysconfig.get_python_inc())') %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))') - + %global with_docs 0 - + Name: python-pillow Version: 8.1.2 Release: 3 -Summary: Python image processing library +Summary: Python image processing library License: MIT URL: http://python-pillow.github.io/ Source0: https://github.com/python-pillow/Pillow/archive/%{version}/Pillow-%{version}.tar.gz @@ -32,7 +32,7 @@ Patch6014: backport-CVE-2021-23437.patch Patch9000: backport-disable-test-sanity.patch -BuildRequires: libjpeg-devel gcc python3-pytest python3-devel +BuildRequires: libjpeg-devel gcc python3-pytest python3-devel zlib-devel #BuildRequires: freetype-devel ghostscript lcms2-devel libimagequant-devel libjpeg-devel libraqm-devel libtiff-devel #BuildRequires: libwebp-devel openjpeg2-devel tk-devel zlib-devel python3-cffi python3-devel python3-numpy python3-olefile #BuildRequires: python3-qt5 python3-setuptools python3-tkinter gcc -- Gitee