Accepting request 243401 from home:tiwai:branches:devel:languages:python

- Add missing PIL.pth installation (bnc#889973)

OBS-URL: https://build.opensuse.org/request/show/243401
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=17
This commit is contained in:
Denisart Benjamin 2014-08-02 11:00:59 +00:00 committed by Git OBS Bridge
parent cce204024a
commit 3e370102d5
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 1 15:40:48 CEST 2014 - tiwai@suse.de
- Add missing PIL.pth installation (bnc#889973)
-------------------------------------------------------------------
Wed May 28 08:24:20 UTC 2014 - toddrme2178@gmail.com

View File

@ -94,6 +94,8 @@ for p in pilconvert pildriver pilfile pilfont pilprint ; do
ln -s %{_bindir}/$p-%{py_ver} %{buildroot}%{_bindir}/$p
ln -s %{_bindir}/$p-%{py_ver} %{buildroot}%{_sysconfdir}/alternatives/$p
done
# add missing path
echo "PIL" > %{buildroot}%{python_sitearch}/PIL.pth
%check
python setup.py test
@ -126,6 +128,7 @@ fi
%ghost %{_bindir}/pilprint
%{_bindir}/pilprint-%{py_ver}
%{python_sitearch}/PIL
%{python_sitearch}/PIL.pth
%{python_sitearch}/Pillow-%{version}-py%{py_ver}.egg-info
%exclude %{python_sitearch}/PIL/ImageTk*
%exclude %{python_sitearch}/PIL/_imagingtk*