Accepting request 729091 from home:jayvdb:branches:devel:languages:python
Link against system libxxhash Fix Leap 15 build errors OBS-URL: https://build.opensuse.org/request/show/729091 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xxhash?expand=0&rev=9
This commit is contained in:
parent
325e7883ed
commit
ea0bb243f7
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 7 09:57:27 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Link against system libxxhash
|
||||
- Fix Leap 15 build errors
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 29 13:58:34 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
@ -29,7 +29,7 @@ BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: unzip
|
||||
BuildRequires: xxhash-devel
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module nose > 1.3.0}
|
||||
# /SECTION
|
||||
@ -43,13 +43,19 @@ xxhash is a Python binding for the xxHash library.
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
export LANG=en_US.UTF-8
|
||||
export XXHASH_LINK_SO=1
|
||||
%python_build
|
||||
|
||||
%install
|
||||
export LANG=en_US.UTF-8
|
||||
export XXHASH_LINK_SO=1
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
export XXHASH_LINK_SO=1
|
||||
%python_exec setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
|
Loading…
Reference in New Issue
Block a user