forked from pool/python-msgpack
Accepting request 580264 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/580264 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msgpack?expand=0&rev=2
This commit is contained in:
commit
c8fc4083e7
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 12:33:08 UTC 2018 - alarrosa@suse.com
|
||||
|
||||
- Provide also python-msgpack-python in the python2 package to
|
||||
be able to obsolete the python2-msgpack-python package correctly.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 12 10:27:18 UTC 2018 - dmueller@suse.com
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
|
||||
%bcond_without test
|
||||
|
||||
%define oldpython python
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-msgpack
|
||||
Version: 0.5.4
|
||||
@ -34,8 +35,12 @@ BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python-rpm-macros
|
||||
# was renamed at 0.5.0
|
||||
Provides: python-msgpack-python = 0.5.0
|
||||
Provides: python-msgpack-python = %{version}
|
||||
Obsoletes: python-msgpack-python < 0.5.0
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-msgpack-python = %{version}
|
||||
Obsoletes: %{oldpython}-msgpack-python < 0.5.0
|
||||
%endif
|
||||
%if %{with test}
|
||||
# Test requirements:
|
||||
BuildRequires: %{python_module pytest}
|
||||
|
Loading…
Reference in New Issue
Block a user