diff --git a/python-urwid.spec b/python-urwid.spec index a8e28d2..93abed1 100644 --- a/python-urwid.spec +++ b/python-urwid.spec @@ -13,18 +13,7 @@ Source0: https://pypi.python.org/packages/source/u/urwid/urwid-%{version}. Patch0: py2-skip-tests-interrupted-syscall.patch -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-twisted -BuildRequires: pygobject2 -BuildRequires: python2-test -# needed by selftest suite for test.support -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-test -# needed by selftest suite for test.support -BuildRequires: /usr/bin/2to3 %global _description\ Urwid is a Python library for making text console applications. It has\ @@ -39,11 +28,22 @@ control. %package -n python2-urwid Summary: %summary %{?python_provide:%python_provide python2-urwid} +BuildRequires: python2-devel +BuildRequires: python2-setuptools +BuildRequires: python2-twisted +BuildRequires: pygobject2 +BuildRequires: python2-test +# needed by selftest suite for test.support %description -n python2-urwid %_description %package -n python3-urwid Summary: Urwid console user interface library for Python 3 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +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