From e5c1c96e63f377250d883d7f92449c6b55da0f356724f19521b3293d988136c1 Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 3 May 2017 14:51:07 +0000 Subject: [PATCH] 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 --- python-bcrypt.changes | 5 +++++ python-bcrypt.spec | 14 ++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/python-bcrypt.changes b/python-bcrypt.changes index 04242b2..6582837 100644 --- a/python-bcrypt.changes +++ b/python-bcrypt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 30 09:33:56 UTC 2017 - jengelh@inai.de + +- Say which crypt methods this module actually supports. + ------------------------------------------------------------------- Sun Apr 30 03:02:13 UTC 2017 - toddrme2178@gmail.com diff --git a/python-bcrypt.spec b/python-bcrypt.spec index a06a1bb..9541b2c 100644 --- a/python-bcrypt.spec +++ b/python-bcrypt.spec @@ -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}