reorder packages

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2017-11-08 10:11:48 +01:00
parent ff801091ba
commit 36b2794cf3

View File

@ -37,14 +37,6 @@ Obsoletes: dbus-python < %{version}-%{release}
%description -n python2-dbus %_description
%package devel
Summary: Libraries and headers for dbus-python
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Headers and static libraries for hooking up custom mainloops to the dbus python
bindings.
%package -n python3-dbus
Summary: D-Bus bindings for python3
%{?python_provide:%python_provide python3-dbus}
@ -53,6 +45,14 @@ BuildRequires: python3-devel
%description -n python3-dbus
%{summary}.
%package devel
Summary: Libraries and headers for dbus-python
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Headers and static libraries for hooking up custom mainloops to the dbus python
bindings.
%prep
%autosetup -p1
@ -80,28 +80,25 @@ rm -fv $RPM_BUILD_ROOT%{python2_sitearch}/*.la
rm -fv $RPM_BUILD_ROOT%{python3_sitearch}/*.la
rm -rfv $RPM_BUILD_ROOT%{_datadir}/doc/dbus-python/
%check
make check -k -C python2-build
make check -k -C python3-build
%files -n python2-dbus
%doc NEWS
%license COPYING
%{python2_sitearch}/*.so
%{python2_sitearch}/dbus/
%files devel
%doc README ChangeLog doc/API_CHANGES.txt doc/HACKING.txt doc/tutorial.txt
%{_includedir}/dbus-1.0/dbus/dbus-python.h
%{_libdir}/pkgconfig/dbus-python.pc
%files -n python3-dbus
%license COPYING
%{python3_sitearch}/*.so
%{python3_sitearch}/dbus/
%files devel
%doc README ChangeLog doc/API_CHANGES.txt doc/HACKING.txt doc/tutorial.txt
%{_includedir}/dbus-1.0/dbus/dbus-python.h
%{_libdir}/pkgconfig/dbus-python.pc
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.4-10