diff --git a/python-passlib.spec b/python-passlib.spec index ee8d1a3..811d5de 100644 --- a/python-passlib.spec +++ b/python-passlib.spec @@ -20,17 +20,16 @@ Name: python-passlib Version: 1.7.1 Release: 0 -Url: https://bitbucket.org/ecollins/passlib Summary: Comprehensive password hashing framework supporting over 20 schemes License: BSD-3-Clause Group: Development/Languages/Python +URL: https://bitbucket.org/ecollins/passlib Source: https://files.pythonhosted.org/packages/source/p/passlib/passlib-%{version}.tar.gz +# test requirements +BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -# test requirements -BuildRequires: %{python_module nose} -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -39,7 +38,7 @@ Passlib is a password hashing library for Python 2 & 3, which provides cross-platform implementations of over 20 password hashing algorithms, as well as a framework for 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. %prep @@ -56,8 +55,8 @@ to providing full-strength password hashing for multi-user applications. %python_expand nosetests-%{$python_version} -v %files %{python_files} -%defattr(-,root,root) -%doc LICENSE README +%license LICENSE +%doc README %{python_sitelib}/passlib %{python_sitelib}/passlib-%{version}-py%{python_version}.egg-info