Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libexmdbpp for openSUSE:Factory checked in at 2025-07-16 15:51:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libexmdbpp (Old) and /work/SRC/openSUSE:Factory/.libexmdbpp.new.7373 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libexmdbpp" Wed Jul 16 15:51:27 2025 rev:4 rq:1293334 version:1.11.0.58baa16 Changes: -------- --- /work/SRC/openSUSE:Factory/libexmdbpp/libexmdbpp.changes 2023-09-06 18:58:05.943357176 +0200 +++ /work/SRC/openSUSE:Factory/.libexmdbpp.new.7373/libexmdbpp.changes 2025-07-16 15:51:38.632435715 +0200 @@ -1,0 +2,5 @@ +Tue Jul 15 08:05:06 UTC 2025 - Jan Engelhardt <jeng...@inai.de> + +- Enable multipython build + +------------------------------------------------------------------- New: ---- _scmsync.obsinfo build.specials.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libexmdbpp.spec ++++++ --- /var/tmp/diff_new_pack.lOBmCG/_old 2025-07-16 15:51:39.404467931 +0200 +++ /var/tmp/diff_new_pack.lOBmCG/_new 2025-07-16 15:51:39.404467931 +0200 @@ -1,7 +1,7 @@ # # spec file for package libexmdbpp # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,8 @@ # +%{?sle15allpythons} +%define skip_python2 1 %define lname libexmdbpp0 Name: libexmdbpp Version: 1.11.0.58baa16 @@ -27,9 +29,20 @@ Source: %name-%version.tar.xz BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: python3 -BuildRequires: python3-pybind11-devel +%if 0%{?rhel} || 0%{?fedora_version} BuildRequires: pkgconfig(python3) +BuildRequires: pybind11-devel +BuildRequires: python3 +%endif +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500 +%{?sle15allpythons} +BuildRequires: python3-rpm-macros +BuildRequires: %{python_module base} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pybind11-devel} +%define python_subpackage_only 1 +%python_subpackages +%endif %description The library provides a C++ API and implementation for constructing @@ -43,17 +56,30 @@ The library provides a C++ API and implementation for constructing exmdb protocol requests and responses and conversing with a server. -%package devel +%package -n libexmdbpp-devel Summary: Development files for libexmdbpp Group: System/Libraries Requires: %lname = %version-%release -%description devel +%description -n libexmdbpp-devel The library provides a C++ API and implementation for constructing exmdb protocol requests and responses and conversing with a server. This subpackage contains the header files for the library. +# section for SUSE +%package -n python-pyexmdb +Summary: Python bindings for libexmdbpp +Group: Development/Languages/Python +Requires: %lname = %version-%release + +%description -n python-pyexmdb +The library provides a C++ API and implementation for constructing +exmdb protocol requests and responses and conversing with a server. + +This subpackage contains bindings for Python. + +# section for Fedora %package -n python3-pyexmdb Summary: Python bindings for libexmdbpp Group: Development/Languages/Python @@ -69,26 +95,49 @@ %autosetup -p1 %build +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500 +base="$PWD" +%{python_expand # +%define __builddir b%$python_bin_suffix +%cmake -DPython3_EXECUTABLE=%{_bindir}/python%$python_bin_suffix +%cmake_build +cd "$base" +} +%else %cmake %cmake_build +%endif %install +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500 +base="$PWD" +%{python_expand # +%define __builddir b%$python_bin_suffix +%cmake_install +cd "$base" +} +%else %cmake_install # Stop check-rpaths from complaining about standard runpaths (fedora). export QA_RPATHS=0x0001 +%endif -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%ldconfig_scriptlets -n %lname %files -n %lname %_libdir/libexmdbpp.so.0 %license LICENSE.txt -%files devel +%files -n libexmdbpp-devel %_includedir/exmdbpp/ %_libdir/libexmdbpp.so %_datadir/exmdbpp/ +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500 +%files %{python_files pyexmdb} +%python_sitearch/* +%else %files -n python3-pyexmdb -%python3_sitearch/pyexm* +%python3_sitearch/* +%endif ++++++ _scmsync.obsinfo ++++++ mtime: 1752570011 commit: 2259086c585aecc27b6de212937a1b5ce2a60b8f95c029f4287a373a27d3967d url: https://src.opensuse.org/jengelh/libexmdbpp