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
|
BuildRequires: glib2-devel
|
||||||
# for %%check
|
# for %%check
|
||||||
BuildRequires: dbus-x11
|
BuildRequires: dbus-x11
|
||||||
BuildRequires: python3-gobject
|
BuildRequires: python%{python3_pkgversion}-gobject
|
||||||
# autoreconf and friends
|
# autoreconf and friends
|
||||||
BuildRequires: autoconf-archive automake libtool
|
BuildRequires: autoconf-archive automake libtool
|
||||||
|
|
||||||
@ -26,14 +26,14 @@ D-Bus python bindings for use with python programs.
|
|||||||
|
|
||||||
%description %_description
|
%description %_description
|
||||||
|
|
||||||
%package -n python3-dbus
|
%package -n python%{python3_pkgversion}-dbus
|
||||||
Summary: D-Bus bindings for python3
|
Summary: D-Bus bindings for python3
|
||||||
%{?python_provide:%python_provide python3-dbus}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-dbus}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
# for py3_build
|
# for py3_build
|
||||||
BuildRequires: python3dist(setuptools)
|
BuildRequires: python3dist(setuptools)
|
||||||
|
|
||||||
%description -n python3-dbus
|
%description -n python%{python3_pkgversion}-dbus
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
@ -66,7 +66,7 @@ rm -rfv $RPM_BUILD_ROOT%{_datadir}/doc/dbus-python/
|
|||||||
%check
|
%check
|
||||||
make check -k || (cat test-suite.log && false)
|
make check -k || (cat test-suite.log && false)
|
||||||
|
|
||||||
%files -n python3-dbus
|
%files -n python%{python3_pkgversion}-dbus
|
||||||
%doc NEWS
|
%doc NEWS
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{python3_sitearch}/*.so
|
%{python3_sitearch}/*.so
|
||||||
|
Loading…
Reference in New Issue
Block a user