diff --git a/python-rsa.changes b/python-rsa.changes index 717c2cf..018d6bb 100644 --- a/python-rsa.changes +++ b/python-rsa.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Nov 23 11:18:01 UTC 2012 - saschpe@suse.de + +- Update to verison 3.1.1: + + Upstream provides no changelog + ------------------------------------------------------------------- Fri May 18 00:58:19 UTC 2012 - jfunk@funktronics.ca diff --git a/python-rsa.spec b/python-rsa.spec index 81a05c5..476322d 100644 --- a/python-rsa.spec +++ b/python-rsa.spec @@ -11,32 +11,29 @@ # 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-rsa -Version: 3.0.1 +Version: 3.1.1 Release: 0 Url: http://stuvel.eu/rsa Summary: Pure-Python RSA Implementation License: Apache-2.0 Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/r/rsa/rsa-%{version}.zip +Source: http://pypi.python.org/packages/source/r/rsa/rsa-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: python-pyasn1 -BuildRequires: unzip Requires: python-pyasn1 -%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()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %description Python-RSA is a pure-Python RSA implementation. It supports encryption and @@ -47,7 +44,7 @@ PKCS#1 version 1.5. %setup -q -n rsa-%{version} %build -CFLAGS="%{optflags}" python setup.py build +python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} @@ -58,7 +55,7 @@ python setup.py test %files %defattr(-,root,root,-) %doc LICENSE +%{_bindir}/pyrsa-* %{python_sitelib}/* -/usr/bin/pyrsa-* %changelog diff --git a/rsa-3.0.1.zip b/rsa-3.0.1.zip deleted file mode 100644 index d147f4b..0000000 --- a/rsa-3.0.1.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2c36df5690f476154c32537b6a0a0bce85c26b4b4a365e23b6e5ac6773355668 -size 49380 diff --git a/rsa-3.1.1.tar.gz b/rsa-3.1.1.tar.gz new file mode 100644 index 0000000..0631a31 --- /dev/null +++ b/rsa-3.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed83fe80602077bcbf91d14e41558c751d76527c7b88d44394e1e2900fddb7ba +size 37584