Matej Cepl 2018-12-04 17:17:53 +00:00 committed by Git OBS Bridge
parent 0c196b046b
commit cd8aa2f04c

View File

@ -20,17 +20,16 @@
Name: python-passlib Name: python-passlib
Version: 1.7.1 Version: 1.7.1
Release: 0 Release: 0
Url: https://bitbucket.org/ecollins/passlib
Summary: Comprehensive password hashing framework supporting over 20 schemes Summary: Comprehensive password hashing framework supporting over 20 schemes
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://bitbucket.org/ecollins/passlib
Source: https://files.pythonhosted.org/packages/source/p/passlib/passlib-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/passlib/passlib-%{version}.tar.gz
# test requirements
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# test requirements
BuildRequires: %{python_module nose}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -39,7 +38,7 @@ Passlib is a password hashing library for Python 2 & 3,
which provides cross-platform implementations of over 20 which provides cross-platform implementations of over 20
password hashing algorithms, as well as a framework for password hashing algorithms, as well as a framework for
managing existing password hashes. It's designed to be useful managing existing password hashes. It's designed to be useful
for a wide range of tasks; from verifying a hash found in /etc/shadow, for a wide range of tasks; from verifying a hash found in %{_sysconfdir}/shadow,
to providing full-strength password hashing for multi-user applications. to providing full-strength password hashing for multi-user applications.
%prep %prep
@ -56,8 +55,8 @@ to providing full-strength password hashing for multi-user applications.
%python_expand nosetests-%{$python_version} -v %python_expand nosetests-%{$python_version} -v
%files %{python_files} %files %{python_files}
%defattr(-,root,root) %license LICENSE
%doc LICENSE README %doc README
%{python_sitelib}/passlib %{python_sitelib}/passlib
%{python_sitelib}/passlib-%{version}-py%{python_version}.egg-info %{python_sitelib}/passlib-%{version}-py%{python_version}.egg-info