From b0ab8a8952f5a64b133b476cbda8484614caa6f5418cee210b757e87cc8aef94 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Mon, 12 Dec 2011 09:04:35 +0000 Subject: [PATCH 1/2] remove %debug_package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-passlib?expand=0&rev=4 --- python-passlib.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-passlib.spec b/python-passlib.spec index 1816424..3a9216f 100644 --- a/python-passlib.spec +++ b/python-passlib.spec @@ -11,10 +11,12 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + Name: python-passlib Version: 1.5.3 Release: 0 From 3e73c7f04861b2ce08336c51419ed1c0e8c1eacea254054a7d6b3cb1a4416624 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 31 Jan 2012 10:39:01 +0000 Subject: [PATCH 2/2] - Fix macro usage and remove reST from description OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-passlib?expand=0&rev=5 --- python-passlib.changes | 5 +++++ python-passlib.spec | 24 ++++-------------------- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/python-passlib.changes b/python-passlib.changes index 8e6e199..82e741d 100644 --- a/python-passlib.changes +++ b/python-passlib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 31 10:38:52 UTC 2012 - saschpe@suse.de + +- Fix macro usage and remove reST from description + ------------------------------------------------------------------- Tue Nov 29 09:26:22 UTC 2011 - saschpe@suse.de diff --git a/python-passlib.spec b/python-passlib.spec index 3a9216f..9e0b681 100644 --- a/python-passlib.spec +++ b/python-passlib.spec @@ -1,7 +1,7 @@ # # spec file for package python-passlib # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,8 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: python-passlib Version: 1.5.3 Release: 0 @@ -29,13 +27,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: python-nose -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else BuildArch: noarch %endif -%endif -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description Passlib is a password hashing library for Python 2 & 3, @@ -45,18 +41,6 @@ managing existing password hashes. It's designed to be useful for a wide range of tasks; from verifying a hash found in /etc/shadow, to providing full-strength password hashing for multi-user applications. -* See the `online documentation `_ - for details, installation instructions, and examples. - -* See the `passlib homepage `_ - for the latest news, more information, and additional downloads. - -* See the `changelog `_ - for a description of what's new in Passlib. - -All releases are signed with the gpg key -`4CE1ED31 `_. - %prep %setup -q -n passlib-%{version}