|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
Name: python-urwid
|
|
|
Version: 1.0.0
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
Summary: Console user interface library
|
|
|
Summary(ja): コンソールユーザーインターフェースライブラリ
|
|
|
|
|
@@ -14,6 +14,7 @@ Source0: http://excess.org/urwid/urwid-%{version}.tar.gz
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: ncurses-devel
|
|
|
BuildRequires: python-devel
|
|
|
+BuildRequires: python-setuptools
|
|
|
BuildRequires: python-twisted
|
|
|
BuildRequires: pygobject
|
|
|
|
|
@@ -32,8 +33,9 @@ find urwid -type f -name "*.py" -exec chmod 644 {} \;
|
|
|
%build
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
-#%check
|
|
|
+%check
|
|
|
#./test_urwid.py
|
|
|
+python setup.py test
|
|
|
|
|
|
%install
|
|
|
rm -rf %{buildroot}
|
|
@@ -53,6 +55,10 @@ rm -rf %{buildroot}
|
|
|
%{python_sitearch}/urwid-%{version}*.egg-info
|
|
|
|
|
|
%changelog
|
|
|
+* Thu Oct 20 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.0-2
|
|
|
+- added BuildRequires: python-setuptools
|
|
|
+- run %%check
|
|
|
+
|
|
|
* Fri Sep 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.0-1
|
|
|
- new upstream release
|
|
|
|