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