Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libfprint for openSUSE:Factory checked in at 2026-08-21 16:59:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libfprint (Old) and /work/SRC/openSUSE:Factory/.libfprint.new.1258 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libfprint" Fri Aug 21 16:59:38 2026 rev:57 rq:1372155 version:1.94.10+tod1 Changes: -------- --- /work/SRC/openSUSE:Factory/libfprint/libfprint.changes 2026-07-01 16:37:33.246973925 +0200 +++ /work/SRC/openSUSE:Factory/.libfprint.new.1258/libfprint.changes 2026-08-21 16:59:41.996572689 +0200 @@ -1,0 +2,6 @@ +Mon Aug 17 04:59:13 UTC 2026 - Zoltan Balogh <[email protected]> + +- Add libfprint-tests subpackage with installed tests + for gnome-desktop-testing-runner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libfprint.spec ++++++ --- /var/tmp/diff_new_pack.yOVn6P/_old 2026-08-21 16:59:42.934606083 +0200 +++ /var/tmp/diff_new_pack.yOVn6P/_new 2026-08-21 16:59:42.936606154 +0200 @@ -141,7 +141,7 @@ %build %meson \ -Dgtk-examples=false \ - -Dinstalled-tests=false \ + -Dinstalled-tests=true \ %if %{install_fp_udev_hwdb} -Dudev_hwdb=enabled \ %else @@ -150,9 +150,23 @@ %{nil} %meson_build +%check +%meson_test || : + %install %meson_install +# Fix hardcoded OBS build paths in installed .test files +# G_TEST_SRCDIR/BUILDDIR/FP_PRINTS_PATH -> installed locations +for testfile in %{buildroot}%{_datadir}/installed-tests/libfprint-%{apiver}/*.test; do + [ -f "$testfile" ] || continue + sed -i \ + -e 's|G_TEST_SRCDIR=[^ ]* |G_TEST_SRCDIR=%{_datadir}/installed-tests/libfprint-%{apiver} |g' \ + -e 's|G_TEST_BUILDDIR=[^ ]* |G_TEST_BUILDDIR=%{_libexecdir}/installed-tests/libfprint-%{apiver} |g' \ + -e 's|FP_PRINTS_PATH=[^ ]* |FP_PRINTS_PATH=%{_datadir}/installed-tests/libfprint-%{apiver} |g' \ + "$testfile" +done + %post -n libfprint-%{apiver}-%{apiver} /sbin/ldconfig %{?udev_rules_update:%udev_rules_update} @@ -194,3 +208,19 @@ %{_libdir}/%{name}-%{apiver}-tod.so %{_libdir}/pkgconfig/%{name}-%{apiver}-tod-1.pc +%package tests +Summary: Installed tests for libfprint-%{apiver} +Requires: gnome-desktop-testing +Requires: libfprint-%{apiver}-%{todapiver} = %{version} + +%description tests +Installed tests for libfprint, compatible with gnome-desktop-testing-runner. +Tests use a virtual USB fingerprint device driver — no hardware required. +Run with: gnome-desktop-testing-runner libfprint-2 + +%files tests +%dir %{_libexecdir}/installed-tests +%{_libexecdir}/installed-tests/libfprint-%{apiver}/ +%dir %{_datadir}/installed-tests +%{_datadir}/installed-tests/libfprint-%{apiver}/ +
