move BuildRequires under subpackages
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
495cf9917d
commit
827a59c229
@ -13,18 +13,7 @@ Source0: https://pypi.python.org/packages/source/u/urwid/urwid-%{version}.
|
|||||||
Patch0: py2-skip-tests-interrupted-syscall.patch
|
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\
|
%global _description\
|
||||||
Urwid is a Python library for making text console applications. It has\
|
Urwid is a Python library for making text console applications. It has\
|
||||||
@ -39,11 +28,22 @@ control.
|
|||||||
%package -n python2-urwid
|
%package -n python2-urwid
|
||||||
Summary: %summary
|
Summary: %summary
|
||||||
%{?python_provide:%python_provide python2-urwid}
|
%{?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
|
%description -n python2-urwid %_description
|
||||||
|
|
||||||
%package -n python3-urwid
|
%package -n python3-urwid
|
||||||
Summary: Urwid console user interface library for Python 3
|
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
|
%description -n python3-urwid
|
||||||
Urwid is a Python library for making text console applications. It has
|
Urwid is a Python library for making text console applications. It has
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user