From 512ab82e44f689e86be8028b9e542a3735eba834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?= Date: Sat, 8 Aug 2020 12:00:45 +0200 Subject: [PATCH] spec: replace hardcorded python3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frédéric Pierret (fepitre) --- dbus-python.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dbus-python.spec b/dbus-python.spec index b772a2f..c65cbf0 100644 --- a/dbus-python.spec +++ b/dbus-python.spec @@ -17,7 +17,7 @@ BuildRequires: dbus-devel BuildRequires: glib2-devel # for %%check BuildRequires: dbus-x11 -BuildRequires: python3-gobject +BuildRequires: python%{python3_pkgversion}-gobject # autoreconf and friends BuildRequires: autoconf-archive automake libtool @@ -26,14 +26,14 @@ D-Bus python bindings for use with python programs. %description %_description -%package -n python3-dbus +%package -n python%{python3_pkgversion}-dbus Summary: D-Bus bindings for python3 -%{?python_provide:%python_provide python3-dbus} -BuildRequires: python3-devel +%{?python_provide:%python_provide python%{python3_pkgversion}-dbus} +BuildRequires: python%{python3_pkgversion}-devel # for py3_build BuildRequires: python3dist(setuptools) -%description -n python3-dbus +%description -n python%{python3_pkgversion}-dbus %{summary}. %package devel @@ -66,7 +66,7 @@ rm -rfv $RPM_BUILD_ROOT%{_datadir}/doc/dbus-python/ %check make check -k || (cat test-suite.log && false) -%files -n python3-dbus +%files -n python%{python3_pkgversion}-dbus %doc NEWS %license COPYING %{python3_sitearch}/*.so