[packages/python3-dbus] python-dbus-devel was dropped, build it here; rel 2

atler atler at pld-linux.org
Sun Dec 7 14:26:41 CET 2025


commit 76503f3e501755f7870643944a5d1a7dc892d92c
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Dec 7 14:25:47 2025 +0100

    python-dbus-devel was dropped, build it here; rel 2

 python3-dbus.spec | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)
---
diff --git a/python3-dbus.spec b/python3-dbus.spec
index de654b7..f26786e 100644
--- a/python3-dbus.spec
+++ b/python3-dbus.spec
@@ -7,7 +7,7 @@ Summary:	Python 3 library for using D-BUS
 Summary(pl.UTF-8):	Biblioteka do używania D-BUS z Pythona 3
 Name:		python3-dbus
 Version:	1.4.0
-Release:	1
+Release:	2
 License:	MIT
 Group:		Libraries/Python
 Source0:	https://dbus.freedesktop.org/releases/dbus-python/dbus-python-%{version}.tar.xz
@@ -61,6 +61,7 @@ Requires:	dbus-devel >= 1.8
 Requires:	glib2-devel >= 1:2.40
 #R: python-dbus = %{version}-%{release}  or  python3-dbus = %{version}-%{release}
 #R: python-devel >= 1:2.7  or  python3-devel >= 1:3.5
+Provides:	python-dbus-devel = %{version}-%{release}
 Obsoletes:	python-dbus-devel < 1.4
 
 %description -n dbus-python-devel
@@ -96,11 +97,6 @@ cp -pr dbus_python.egg-info $RPM_BUILD_ROOT%{py3_sitedir}/dbus_python-%{version}
 %py3_comp $RPM_BUILD_ROOT%{py3_sitedir}
 %py3_ocomp $RPM_BUILD_ROOT%{py3_sitedir}
 
-# as for 1.4.0, use python-dbus-devel 1.2.x
-# (the only difference is removal of python2.7 interface support from header)
-%{__rm} $RPM_BUILD_ROOT%{_includedir}/dbus-1.0/dbus/dbus-python.h
-%{__rm} $RPM_BUILD_ROOT%{_pkgconfigdir}/dbus-python.pc
-
 %if %{with apidocs}
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/dbus-python/html/{.doctrees,_sources}
 %{__rm} $RPM_BUILD_ROOT%{_docdir}/dbus-python/html/{.buildinfo,objects.inv}
@@ -128,12 +124,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_docdir}/dbus-python
 %endif
 
-%if 0
-# as for 1.4.0, use python-dbus-devel 1.2.x
-# (the only difference is removal of python2.7 interface support from header;
-#  keep python2-enabled version to support python-dbus package for remaining users)
 %files -n dbus-python-devel
 %defattr(644,root,root,755)
 %{_includedir}/dbus-1.0/dbus/dbus-python.h
 %{_pkgconfigdir}/dbus-python.pc
-%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-dbus.git/commitdiff/76503f3e501755f7870643944a5d1a7dc892d92c



More information about the pld-cvs-commit mailing list