From cd8aa2f04c793c79453c473d3ee609b3e97aec86fb6297d9c9bb90f46fe0f5b6 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:17:53 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-passlib?expand=0&rev=29 --- python-passlib.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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