diff --git a/python-xxhash.changes b/python-xxhash.changes index c530e4c..129ab96 100644 --- a/python-xxhash.changes +++ b/python-xxhash.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Sep 7 09:57:27 UTC 2019 - John Vandenberg + +- Link against system libxxhash +- Fix Leap 15 build errors + ------------------------------------------------------------------- Thu Aug 29 13:58:34 UTC 2019 - Marketa Calabkova diff --git a/python-xxhash.spec b/python-xxhash.spec index ad9522f..5dea0b4 100644 --- a/python-xxhash.spec +++ b/python-xxhash.spec @@ -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}