diff --git a/python-Pillow.changes b/python-Pillow.changes index edc1e33..38af39a 100644 --- a/python-Pillow.changes +++ b/python-Pillow.changes @@ -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 diff --git a/python-Pillow.spec b/python-Pillow.spec index 09ba157..810d8d3 100644 --- a/python-Pillow.spec +++ b/python-Pillow.spec @@ -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.*