diff options
| author | CoprDistGit <infra@openeuler.org> | 2025-03-24 17:14:58 +0000 | 
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2025-03-24 17:14:58 +0000 | 
| commit | beecb5615e0766fe076537d5daa2fc001f8612b4 (patch) | |
| tree | 36f4dac37806890c5861282b908fa21b4175b4e9 | |
| parent | 08e86d82d572f4e80556eec5ed1d908e171d048f (diff) | |
automatic import of dbus-python
| -rw-r--r-- | dbus-python.spec | 17 | 
1 files changed, 12 insertions, 5 deletions
diff --git a/dbus-python.spec b/dbus-python.spec index f871621..c2f8ad5 100644 --- a/dbus-python.spec +++ b/dbus-python.spec @@ -8,7 +8,7 @@ Source0:	https://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.ta  Patch0: 	0001-Move-python-modules-to-architecture-specific-directo.patch  Patch1: 	Fix-deprecation-warnings-due-to-invalid-escape-seque.patch -BuildRequires: meson >= 0.60 +BuildRequires: autoconf-archive automake libtool  BuildRequires: pkgconfig(dbus-1) >= 1.8  BuildRequires: pkgconfig(glib-2.0) >= 2.40  BuildRequires: pkgconfig(gthread-2.0) >= 2.40 @@ -44,19 +44,26 @@ developing applications that use %{name}.  %autosetup -n %{name}-%{version} -p1  %build -%meson -%meson_build +autoreconf -fi +export DBUS_PYTHON_USE_AUTOTOOLS=1 +%set_build_flags +%py3_build +%configure PYTHON="%{__python3}" +%make_build  %install -%meson_install +export DBUS_PYTHON_USE_AUTOTOOLS=1 +%py3_install +%make_install  %check -%meson_test +make check -k || (cat test-suite.log && false)  %files -n python3-dbus  %license COPYING  %{python3_sitearch}/*.so  %{python3_sitearch}/dbus/ +%{python3_sitearch}/dbus_python*egg-info  %files devel  %{_includedir}/dbus-1.0/dbus/%{name}.h  | 
