From 3e370102d55bfd76c61562688ac412a721e0d2956379c70944c97b694e58b8b3 Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Sat, 2 Aug 2014 11:00:59 +0000 Subject: [PATCH] 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 --- python-Pillow.changes | 5 +++++ python-Pillow.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-Pillow.changes b/python-Pillow.changes index a9a753c..7c1aad5 100644 --- a/python-Pillow.changes +++ b/python-Pillow.changes @@ -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 diff --git a/python-Pillow.spec b/python-Pillow.spec index f4f4d96..621a7bf 100644 --- a/python-Pillow.spec +++ b/python-Pillow.spec @@ -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*