unify summary/description

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2017-11-07 12:11:28 +01:00
parent 994d09f483
commit 1fe2b700be

View File

@ -12,9 +12,6 @@ Source0: https://pypi.python.org/packages/source/u/urwid/urwid-%{version}.
# https://docs.python.org/3/whatsnew/3.5.html#pep-475-retry-system-calls-failing-with-eintr
Patch0: py2-skip-tests-interrupted-syscall.patch
%global _description\
Urwid is a Python library for making text console applications. It has\
many features including fluid interface resizing, support for UTF-8 and\
@ -38,7 +35,7 @@ BuildRequires: python2-test
%description -n python2-urwid %_description
%package -n python3-urwid
Summary: Urwid console user interface library for Python 3
Summary: %summary
%{?python_provide:%python_provide python3-urwid}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
@ -46,15 +43,7 @@ BuildRequires: python3-test
# needed by selftest suite for test.support
BuildRequires: /usr/bin/2to3
%description -n python3-urwid
Urwid is a Python library for making text console applications. It has
many features including fluid interface resizing, support for UTF-8 and
CJK encodings, standard and custom text layout modes, simple markup for
setting text attributes, and a powerful, dynamic list box that handles a
mix of widget types. It is flexible, modular, and leaves the developer in
control.
This package contains the urwid module built for use with python3.
%description -n python3-urwid %_description
%prep
%setup -q -n urwid-%{version}