#6 spec: replace hardcorded python3
Merged 3 years ago by ngompa. Opened 3 years ago by fepitre.
rpms/ fepitre/dbus-python python3  into  master

file modified
+6 -6
@@ -17,7 +17,7 @@ 

  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 @@ 

  

  %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 @@ 

  %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