Accepting request 515780 from home:TheBlackCat:branches:devel:languages:python
python(3)-tk does not exist on SLE OBS-URL: https://build.opensuse.org/request/show/515780 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=58
This commit is contained in:
parent
3a7148b122
commit
b4299d0409
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 9 17:47:29 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- python(3)-tk does not exist on SLE
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 12 19:01:50 UTC 2017 - toddrme2178@gmail.com
|
Wed Apr 12 19:01:50 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -30,7 +30,9 @@ BuildRequires: %{python_module devel}
|
|||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
BuildRequires: %{python_module olefile}
|
BuildRequires: %{python_module olefile}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
%if 0%{?is_opensuse}
|
||||||
BuildRequires: %{python_module tk}
|
BuildRequires: %{python_module tk}
|
||||||
|
%endif
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: freetype2-devel
|
BuildRequires: freetype2-devel
|
||||||
BuildRequires: libtiff-devel
|
BuildRequires: libtiff-devel
|
||||||
@ -83,6 +85,7 @@ Python Imaging Library by Fredrik Lundh and Contributors.
|
|||||||
Summary: Python Imaging Library (Fork) - Tcl/Tk Module
|
Summary: Python Imaging Library (Fork) - Tcl/Tk Module
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
Requires: python-tk
|
||||||
%ifpython2
|
%ifpython2
|
||||||
# NOTE: We don't need to conflict with python-imaging here,
|
# NOTE: We don't need to conflict with python-imaging here,
|
||||||
# because this package depends on python-Pillow, which already conflicts with python-imaging,
|
# because this package depends on python-Pillow, which already conflicts with python-imaging,
|
||||||
@ -149,9 +152,13 @@ $python test-installed.py
|
|||||||
%{python_sitearch}/PIL
|
%{python_sitearch}/PIL
|
||||||
%{python_sitearch}/PIL.pth
|
%{python_sitearch}/PIL.pth
|
||||||
%{python_sitearch}/Pillow-%{version}-py%{python_version}.egg-info
|
%{python_sitearch}/Pillow-%{version}-py%{python_version}.egg-info
|
||||||
|
%if 0%{?is_opensuse}
|
||||||
%exclude %{python_sitearch}/PIL/ImageTk*
|
%exclude %{python_sitearch}/PIL/ImageTk*
|
||||||
%exclude %{python_sitearch}/PIL/_imagingtk*
|
%exclude %{python_sitearch}/PIL/_imagingtk*
|
||||||
%pycache_only %exclude %{python_sitearch}/PIL/__pycache__/ImageTk.*
|
%pycache_only %exclude %{python_sitearch}/PIL/__pycache__/ImageTk.*
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?is_opensuse}
|
||||||
|
|
||||||
%files %{python_files tk}
|
%files %{python_files tk}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -159,4 +166,6 @@ $python test-installed.py
|
|||||||
%{python_sitearch}/PIL/_imagingtk*
|
%{python_sitearch}/PIL/_imagingtk*
|
||||||
%pycache_only %{python_sitearch}/PIL/__pycache__/ImageTk.*
|
%pycache_only %{python_sitearch}/PIL/__pycache__/ImageTk.*
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user