spec: replace hardcorded python3
Signed-off-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
This commit is contained in:
parent
92121636f4
commit
512ab82e44
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user