move BuildRequires under respective subpackages
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
7f7957b4c4
commit
629ada19f7
@ -13,9 +13,7 @@ Patch0: 0001-Move-python-modules-to-architecture-specific-directo.patch
|
||||
|
||||
BuildRequires: dbus-devel
|
||||
BuildRequires: dbus-glib-devel
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python-docutils
|
||||
BuildRequires: python3-devel
|
||||
# for %%check
|
||||
BuildRequires: dbus-x11
|
||||
BuildRequires: python-gobject
|
||||
@ -31,6 +29,7 @@ D-Bus python bindings for use with python programs.
|
||||
%package -n python2-dbus
|
||||
Summary: %summary
|
||||
%{?python_provide:%python_provide python2-dbus}
|
||||
BuildRequires: python2-devel
|
||||
# Remove before F30
|
||||
Provides: dbus-python = %{version}-%{release}
|
||||
Provides: dbus-python%{?_isa} = %{version}-%{release}
|
||||
@ -48,6 +47,7 @@ bindings.
|
||||
%package -n python3-dbus
|
||||
Summary: D-Bus bindings for python3
|
||||
%{?python_provide:%python_provide python3-dbus}
|
||||
BuildRequires: python3-devel
|
||||
|
||||
%description -n python3-dbus
|
||||
%{summary}.
|
||||
|
Loading…
Reference in New Issue
Block a user