forked from pool/python-argon2-cffi
Accepting request 785548 from devel:languages:python
Staging:I py2 fix OBS-URL: https://build.opensuse.org/request/show/785548 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argon2-cffi?expand=0&rev=7
This commit is contained in:
commit
0f3513dee9
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 16 10:12:33 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix build without python2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 17 12:29:23 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
Fri Jan 17 12:29:23 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
@ -17,12 +17,12 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_without python2
|
||||||
Name: python-argon2-cffi
|
Name: python-argon2-cffi
|
||||||
Version: 19.2.0
|
Version: 19.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The Argon2 password hashing algorithm for Python
|
Summary: The Argon2 password hashing algorithm for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/hynek/argon2_cffi
|
URL: https://github.com/hynek/argon2_cffi
|
||||||
Source: https://files.pythonhosted.org/packages/source/a/argon2-cffi/argon2-cffi-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/a/argon2-cffi/argon2-cffi-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module cffi >= 1.0.0}
|
BuildRequires: %{python_module cffi >= 1.0.0}
|
||||||
@ -34,12 +34,14 @@ BuildRequires: %{python_module six}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python2-enum34
|
|
||||||
BuildRequires: pkgconfig(libargon2)
|
BuildRequires: pkgconfig(libargon2)
|
||||||
Requires: python-cffi >= 1.0.0
|
Requires: python-cffi >= 1.0.0
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
Provides: python-argon2_cffi
|
Provides: python-argon2_cffi
|
||||||
Obsoletes: python-argon2_cffi
|
Obsoletes: python-argon2_cffi
|
||||||
|
%if %{with python2}
|
||||||
|
BuildRequires: python-enum34
|
||||||
|
%endif
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Requires: python-enum34
|
Requires: python-enum34
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user