forked from pool/python-bcrypt
Accepting request 492219 from home:jengelh:branches:devel:languages:python
- Say which crypt methods this module actually supports. OBS-URL: https://build.opensuse.org/request/show/492219 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bcrypt?expand=0&rev=8
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%bcond_without tests
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
@@ -23,22 +24,22 @@
|
||||
Name: python-bcrypt
|
||||
Version: 3.1.3
|
||||
Release: 0
|
||||
Summary: Password hashing for your software and your servers
|
||||
Summary: BSD type 2a and 2b password hashing
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/pyca/bcrypt/
|
||||
Source: https://files.pythonhosted.org/packages/source/b/bcrypt/bcrypt-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: pkgconfig(libffi)
|
||||
BuildRequires: %{python_module cffi}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: pkgconfig(libffi)
|
||||
%if %{with tests}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
Requires: python-six
|
||||
Requires: python-six
|
||||
%requires_eq python-cffi
|
||||
# This is intended as a drop-in replacement for py-bcrypt
|
||||
Provides: python-py-bcrypt = %{version}
|
||||
@@ -51,7 +52,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Provides password hashing for your software and your servers.
|
||||
This Python module supports creating (and verifying) password hashes
|
||||
using the BSD-originating hashing methods known as "2a" and "2b".
|
||||
|
||||
%prep
|
||||
%setup -q -n bcrypt-%{version}
|
||||
|
||||
Reference in New Issue
Block a user