Accepting request 518118 from home:tbechtold:branches:devel:languages:python

- fix conditional build with tk (bsc#1054719)

OBS-URL: https://build.opensuse.org/request/show/518118
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=63
This commit is contained in:
Thomas Bechtold 2017-08-22 13:21:15 +00:00 committed by Git OBS Bridge
parent cb624450b5
commit efebda8610
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 22 11:52:50 UTC 2017 - tbechtold@suse.com
- fix conditional build with tk (bsc#1054719)
-------------------------------------------------------------------
Mon Aug 21 10:06:47 UTC 2017 - tbechtold@suse.com

View File

@ -154,7 +154,8 @@ $python test-installed.py
%{python_sitearch}/PIL
%{python_sitearch}/PIL.pth
%{python_sitearch}/Pillow-%{version}-py%{python_version}.egg-info
%if 0%{?is_opensuse}
%if %{with tk}
%exclude %{python_sitearch}/PIL/ImageTk*
%exclude %{python_sitearch}/PIL/_imagingtk*
%pycache_only %exclude %{python_sitearch}/PIL/__pycache__/ImageTk.*