From 5c824f87a49417e0d6545367d8ad935dc1125b6d5e6581f838a6af0e345cf3dc Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 29 Nov 2011 09:26:51 +0000 Subject: [PATCH] - SPDX-style license string (BSD-3-Clause) - Package CHANGES, README, LICENSE - Run testsuite OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-passlib?expand=0&rev=2 --- python-passlib.changes | 7 +++++++ python-passlib.spec | 17 +++++++++++------ 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/python-passlib.changes b/python-passlib.changes index c549af2..8e6e199 100644 --- a/python-passlib.changes +++ b/python-passlib.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 29 09:26:22 UTC 2011 - saschpe@suse.de + +- SPDX-style license string (BSD-3-Clause) +- Package CHANGES, README, LICENSE +- Run testsuite + ------------------------------------------------------------------- Mon Oct 24 12:26:26 UTC 2011 - cthiel@suse.com diff --git a/python-passlib.spec b/python-passlib.spec index eef0b07..1816424 100644 --- a/python-passlib.spec +++ b/python-passlib.spec @@ -19,12 +19,14 @@ Name: python-passlib Version: 1.5.3 Release: 0 Url: http://passlib.googlecode.com -Summary: comprehensive password hashing framework supporting over 20 schemes -License: BSD +Summary: Comprehensive password hashing framework supporting over 20 schemes +License: BSD-3-Clause Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/p/passlib/passlib-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel python-setuptools +BuildRequires: python-devel +BuildRequires: python-distribute +BuildRequires: python-nose %if 0%{?suse_version} %py_requires %if 0%{?suse_version} > 1110 @@ -32,7 +34,6 @@ BuildArch: noarch %endif %endif %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %description Passlib is a password hashing library for Python 2 & 3, @@ -58,13 +59,17 @@ All releases are signed with the gpg key %setup -q -n passlib-%{version} %build -CFLAGS="%{optflags}" python setup.py build +python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%check +nosetests + %files %defattr(-,root,root,-) +%doc CHANGES LICENSE README %{python_sitelib}/* -%changelog \ No newline at end of file +%changelog