From 653143aaf8897bf227dbe73ec2fe4f2796750468c00c2034c8942629ef38d6c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 24 Sep 2012 11:09:03 +0000 Subject: [PATCH] - BuildRequire python3 to get hashlib sha512 support OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urwid?expand=0&rev=16 --- python-urwid.spec | 7 ++++--- python3-urwid.changes | 5 +++++ python3-urwid.spec | 11 +++++++---- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/python-urwid.spec b/python-urwid.spec index 163deff..8827609 100644 --- a/python-urwid.spec +++ b/python-urwid.spec @@ -11,10 +11,11 @@ # 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-urwid Version: 1.0.2 Release: 0 @@ -25,8 +26,8 @@ Group: Development/Languages/Python Source: http://excess.org/urwid/urwid-%{version}.tar.gz Source99: python-urwid-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-setuptools BuildRequires: python-devel +BuildRequires: python-setuptools %if 0%{?suse_version} %py_requires Requires: python-curses @@ -54,7 +55,7 @@ useful for text console application developers including: %install %__python setup.py install --prefix="%{_prefix}" --root="%{buildroot}" - + %files %defattr(-,root,root,-) %doc CHANGELOG reference.html tutorial.html diff --git a/python3-urwid.changes b/python3-urwid.changes index cc65edc..582dc2e 100644 --- a/python3-urwid.changes +++ b/python3-urwid.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 24 11:08:38 UTC 2012 - idonmez@suse.com + +- BuildRequire python3 to get hashlib sha512 support + ------------------------------------------------------------------- Tue Sep 4 11:53:59 UTC 2012 - p.drouand@gmail.com diff --git a/python3-urwid.spec b/python3-urwid.spec index 2e613b0..f7ef8d8 100644 --- a/python3-urwid.spec +++ b/python3-urwid.spec @@ -11,10 +11,11 @@ # 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: python3-urwid Version: 1.0.2 Release: 0 @@ -25,9 +26,11 @@ Group: Development/Languages/Python Source: http://excess.org/urwid/urwid-%{version}.tar.gz Source99: python-urwid-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python3-setuptools +BuildRequires: python3-2to3 +# Needed for hashlib/sha512 +BuildRequires: python3 BuildRequires: python3-devel -BuildRequires: python3-2to3 +BuildRequires: python3-setuptools Requires: python3-curses %if 0%{?suse_version} <= 1140 @@ -39,7 +42,6 @@ Requires: python(abi) = %{py3_ver} BuildRequires: python3-base %endif - %description Urwid is a console user interface library. It includes many features useful for text console application developers including: @@ -68,4 +70,5 @@ python3 setup.py install --prefix="%{_prefix}" --root="%{buildroot}" %doc CHANGELOG reference.html tutorial.html %{python3_sitearch}/urwid %{python3_sitearch}/urwid-%{version}-py%{py3_ver}.egg-info + %changelog