Accepting request 235635 from home:TheBlackCat:branches:devel:languages:python

Fixing conflicting provides/conflicts that prevent installation of the tk subpackage.

This should fix the problems reported with the previous openSUSE:Factory submission.

OBS-URL: https://build.opensuse.org/request/show/235635
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=15
This commit is contained in:
Todd R 2014-05-28 08:43:10 +00:00 committed by Git OBS Bridge
parent 973f94461d
commit cce204024a
2 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 28 08:24:20 UTC 2014 - toddrme2178@gmail.com
- Fixing conflicting provides/conflicts that prevent installation
of the tk subpackage.
-------------------------------------------------------------------
Tue May 27 08:25:54 UTC 2014 - mcihar@suse.com

View File

@ -65,12 +65,13 @@ Python Imaging Library by Fredrik Lundh and Contributors.
Summary: Python Imaging Library (Fork) - Tcl/Tk Module
Group: Development/Languages/Python
Requires: %{name} = %{version}
# NOTE(saschpe): imaging used to (wrongly) ship the tk module too, so we've got to conflict with it.
Provides: python-imaging:%{python_sitearch}/PIL/ImageTk.py*
Provides: python-imaging:%{python_sitearch}/PIL/_imagingtk.so
# NOTE(saschpe): This would be to much, no?:
#Provides: python-imaging:%{_datadir}/doc/packages/python-imaging/Docs/pythondoc-PIL.ImageTk.html
Conflicts: python-imaging
# NOTE: We don't need to conflict with python-imaging here,
# because this package depends on python-Pillow, which already conflicts with python-imaging,
# so this cannot be installed alongside python-imaging
# And we cannot conflict with python-imaging directly, since python-Pillow provides python-imaging
# Just in case, conflict with python-imaging-tk in case it is ever implemented.
Obsoletes: python-imaging-tk
Provides: python-imaging-tk
%description tk
Pillow is the "friendly" PIL fork by Alex Clark and Contributors. PIL is the