From e9e9339b976a759224253dcc38f03a2b66af60d9 Mon Sep 17 00:00:00 2001 From: basebuilder_pel7x64builder0 Date: Thu, 29 Nov 2018 12:30:05 +0100 Subject: [PATCH] python-pillow add python3 support (without docs) Signed-off-by: basebuilder_pel7x64builder0 --- SPECS/python-pillow.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SPECS/python-pillow.spec b/SPECS/python-pillow.spec index bb1381b3..2d220d10 100644 --- a/SPECS/python-pillow.spec +++ b/SPECS/python-pillow.spec @@ -5,7 +5,7 @@ # RHEL-7 doesn't have python 3 %if 0%{?rhel} == 7 - %global with_python3 0 + %global with_python3 1 %else %global with_python3 1 %endif @@ -225,7 +225,7 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build popd pushd docs -PYTHONPATH=$PWD/.. make html +#PYTHONPATH=$PWD/.. make html rm -f _build/html/.buildinfo popd @@ -240,7 +240,7 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build popd pushd docs -PYTHONPATH=$PWD/.. make html +#PYTHONPATH=$PWD/.. make html rm -f _build/html/.buildinfo popd popd @@ -318,7 +318,7 @@ popd %{py2_incdir}/Imaging/ %files doc -%doc Scripts Images docs/_build/html +#%doc Scripts Images docs/_build/html %files sane %doc Sane/CHANGES Sane/demo*.py Sane/sanedoc.txt @@ -347,7 +347,7 @@ popd %{py3_incdir}/Imaging/ %files -n %{name3}-doc -%doc Scripts Images docs/_build/html +#%doc Scripts Images docs/_build/html %files -n %{name3}-sane %doc Sane/CHANGES Sane/demo*.py Sane/sanedoc.txt