15
0

Accepting request 587921 from home:oertel:branches:devel:languages:python

- add u-msgpack-bigendian_broken.patch (bsc#1085666)
  pack_ext_handler/unpack_ext_handler are broken on bigendian,
  skip them in the testsuite for now

OBS-URL: https://build.opensuse.org/request/show/587921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-u-msgpack-python?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal
2018-03-16 15:07:49 +00:00
committed by Git OBS Bridge
parent 989fb65836
commit aec8618a62
3 changed files with 58 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-u-msgpack-python
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@ License: MIT
Group: Development/Languages/Python
Url: https://github.com/vsergeev/u-msgpack-python
Source: https://pypi.io/packages/source/u/u-msgpack-python/u-msgpack-python-%{version}.tar.gz
Patch0: u-msgpack-bigendian_broken.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -43,6 +44,12 @@ UTF-8 string, and application-defined ext types.
%prep
%setup -q -n u-msgpack-python-%{version}
# we are noarch, so ifarch does not work here
case "$(uname -m)" in
ppc|ppc64|s390|s390x)
%patch0 -p1
;;
esac
%build
%python_build