forked from pool/python-python-magic
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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user