Accepting request 1035684 from home:WernerFink:branches:devel:languages:python

- Reintroduce the Conflict with python-magic back as paython-paython-magic
  uses the same name space but are fully different (boo#1181252)

OBS-URL: https://build.opensuse.org/request/show/1035684
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-magic?expand=0&rev=23
This commit is contained in:
Matej Cepl 2022-11-14 15:50:49 +00:00 committed by Git OBS Bridge
parent d10a03299b
commit c3c50c0fa6
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 14 15:13:02 UTC 2022 - Dr. Werner Fink <werner@suse.de>
- Reintroduce the Conflict with python-magic back as paython-paython-magic
uses the same name space but are fully different (boo#1181252)
-------------------------------------------------------------------
Mon Oct 10 08:53:37 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -33,10 +33,16 @@ BuildRequires: fdupes
BuildRequires: file
BuildRequires: python-rpm-macros
Requires: file
Provides: python-magic
# python-python-magic and python-magic use the same namespace (ie. filename)
# and have a very similar functionality but are incompatible to each other.
# https://github.com/ahupp/python-magic/issues/21
Conflicts: python-magic
BuildArch: noarch
%ifpython2
Provides: %{oldpython}-magic
# python-python-magic and python-magic use the same namespace (ie. filename)
# and have a very similar functionality but are incompatible to each other.
# https://github.com/ahupp/python-magic/issues/21
Conflicts: %{oldpython}-magic
%endif
%python_subpackages