|
|
|
@ -45,7 +45,7 @@ BuildRequires: zlib-devel
|
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
|
BuildRequires: lcms2-devel
|
|
|
|
|
BuildRequires: sane-backends-devel
|
|
|
|
|
# BuildRequires: ghostscript # Running test fails, see #921706#c38
|
|
|
|
|
BuildRequires: ghostscript
|
|
|
|
|
BuildRequires: openjpeg2-devel
|
|
|
|
|
BuildRequires: libwebp-devel
|
|
|
|
|
|
|
|
|
@ -250,8 +250,6 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
# Install Python 2 modules
|
|
|
|
|
install -d %{buildroot}/%{py2_incdir}/Imaging
|
|
|
|
|
install -m 644 libImaging/*.h %{buildroot}/%{py2_incdir}/Imaging
|
|
|
|
@ -277,6 +275,9 @@ rm -rf %{buildroot}%{_bindir}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
# Running test fails, see #921706#c38
|
|
|
|
|
rm -f Tests/test_file_eps.py
|
|
|
|
|
|
|
|
|
|
# Check Python 2 modules
|
|
|
|
|
ln -s $PWD/Images $PWD/build/%py2_libbuilddir/Images
|
|
|
|
|
cp -R $PWD/Tests $PWD/build/%py2_libbuilddir/Tests
|
|
|
|
|