Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libxmlb for openSUSE:Factory checked in at 2026-08-19 17:55:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libxmlb (Old) and /work/SRC/openSUSE:Factory/.libxmlb.new.1258 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libxmlb" Wed Aug 19 17:55:02 2026 rev:24 rq:1371661 version:0.3.29 Changes: -------- --- /work/SRC/openSUSE:Factory/libxmlb/libxmlb.changes 2026-08-01 18:27:47.296644785 +0200 +++ /work/SRC/openSUSE:Factory/.libxmlb.new.1258/libxmlb.changes 2026-08-19 17:55:04.795011992 +0200 @@ -1,0 +2,6 @@ +Mon Aug 17 04:59:13 UTC 2026 - Zoltan Balogh <[email protected]> + +- Add libxmlb-tests subpackage with installed tests + for gnome-desktop-testing-runner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libxmlb.spec ++++++ --- /var/tmp/diff_new_pack.1MtAKo/_old 2026-08-19 17:55:06.089058742 +0200 +++ /var/tmp/diff_new_pack.1MtAKo/_new 2026-08-19 17:55:06.097059031 +0200 @@ -84,6 +84,16 @@ %description devel Files for development with %{name}. +%package tests +Summary: Installed tests for %{name} +Group: Development/Libraries/Other +Requires: %{name}%{sover} = %{version} +Requires: gnome-desktop-testing + +%description tests +This package provides installed tests for %{name}, +compatible with gnome-desktop-testing-runner. + %prep %autosetup -p1 @@ -102,6 +112,12 @@ %install %meson_install +# Fix G_TEST_SRCDIR in installed .test file so test binary finds its data +for testfile in %{buildroot}%{_datadir}/installed-tests/%{name}/*.test; do + [ -f "$testfile" ] || continue + sed -i 's|^Exec=|Exec=env G_TEST_SRCDIR=%{_libexecdir}/installed-tests/%{name} |' "$testfile" +done + %ldconfig_scriptlets -n %{name}%{sover} %files -n %{name}%{sover} @@ -122,6 +138,10 @@ %{_includedir}/%{name}-%{sover}/ %{_libdir}/%{name}.so %{_libdir}/pkgconfig/xmlb.pc -%{_libexecdir}/installed-tests/ -%{_datadir}/installed-tests/ + +%files tests +%dir %{_libexecdir}/installed-tests +%{_libexecdir}/installed-tests/%{name}/ +%dir %{_datadir}/installed-tests +%{_datadir}/installed-tests/%{name}/
