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