From 4c1743de41503a9156308895da371872bf9aebbe17469281bf42c1401f309edf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 8 Aug 2018 14:02:18 +0000 Subject: [PATCH] - Do not use bundled argon2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argon2-cffi?expand=0&rev=2 --- python-argon2-cffi.changes | 5 +++++ python-argon2-cffi.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-argon2-cffi.changes b/python-argon2-cffi.changes index cd4e400..7243bcf 100644 --- a/python-argon2-cffi.changes +++ b/python-argon2-cffi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 8 14:02:08 UTC 2018 - tchvatal@suse.com + +- Do not use bundled argon2 + ------------------------------------------------------------------- Wed Aug 8 13:36:02 UTC 2018 - tchvatal@suse.com diff --git a/python-argon2-cffi.spec b/python-argon2-cffi.spec index bd75154..02057ec 100644 --- a/python-argon2-cffi.spec +++ b/python-argon2-cffi.spec @@ -32,8 +32,10 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools >= 6.0} BuildRequires: %{python_module six} BuildRequires: fdupes +BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: python2-enum34 +BuildRequires: pkgconfig(libargon2) Requires: python-cffi >= 1.0.0 Requires: python-six %ifpython2 @@ -48,6 +50,7 @@ The secure Argon2 password hashing algorithm that uses cffi to speed things up. %setup -q -n argon2_cffi-%{version} %build +export ARGON2_CFFI_USE_SYSTEM=1 %python_build %install