14
0
forked from pool/python-urwid

- BuildRequire python3 to get hashlib sha512 support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urwid?expand=0&rev=16
This commit is contained in:
Ismail Dönmez
2012-09-24 11:09:03 +00:00
committed by Git OBS Bridge
parent aa32d05e81
commit 653143aaf8
3 changed files with 16 additions and 7 deletions

View File

@@ -11,10 +11,11 @@
# case the license is the MIT License). An "Open Source License" is a # case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: python-urwid Name: python-urwid
Version: 1.0.2 Version: 1.0.2
Release: 0 Release: 0
@@ -25,8 +26,8 @@ Group: Development/Languages/Python
Source: http://excess.org/urwid/urwid-%{version}.tar.gz Source: http://excess.org/urwid/urwid-%{version}.tar.gz
Source99: python-urwid-rpmlintrc Source99: python-urwid-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-setuptools
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-setuptools
%if 0%{?suse_version} %if 0%{?suse_version}
%py_requires %py_requires
Requires: python-curses Requires: python-curses
@@ -54,7 +55,7 @@ useful for text console application developers including:
%install %install
%__python setup.py install --prefix="%{_prefix}" --root="%{buildroot}" %__python setup.py install --prefix="%{_prefix}" --root="%{buildroot}"
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc CHANGELOG reference.html tutorial.html %doc CHANGELOG reference.html tutorial.html

View File

@@ -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 Tue Sep 4 11:53:59 UTC 2012 - p.drouand@gmail.com

View File

@@ -11,10 +11,11 @@
# case the license is the MIT License). An "Open Source License" is a # case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: python3-urwid Name: python3-urwid
Version: 1.0.2 Version: 1.0.2
Release: 0 Release: 0
@@ -25,9 +26,11 @@ Group: Development/Languages/Python
Source: http://excess.org/urwid/urwid-%{version}.tar.gz Source: http://excess.org/urwid/urwid-%{version}.tar.gz
Source99: python-urwid-rpmlintrc Source99: python-urwid-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3-setuptools BuildRequires: python3-2to3
# Needed for hashlib/sha512
BuildRequires: python3
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-2to3 BuildRequires: python3-setuptools
Requires: python3-curses Requires: python3-curses
%if 0%{?suse_version} <= 1140 %if 0%{?suse_version} <= 1140
@@ -39,7 +42,6 @@ Requires: python(abi) = %{py3_ver}
BuildRequires: python3-base BuildRequires: python3-base
%endif %endif
%description %description
Urwid is a console user interface library. It includes many features Urwid is a console user interface library. It includes many features
useful for text console application developers including: 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 %doc CHANGELOG reference.html tutorial.html
%{python3_sitearch}/urwid %{python3_sitearch}/urwid
%{python3_sitearch}/urwid-%{version}-py%{py3_ver}.egg-info %{python3_sitearch}/urwid-%{version}-py%{py3_ver}.egg-info
%changelog %changelog