Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package samtools for openSUSE:Factory checked in at 2026-08-21 22:17:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/samtools (Old) and /work/SRC/openSUSE:Factory/.samtools.new.1258 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "samtools" Fri Aug 21 22:17:43 2026 rev:8 rq:1372903 version:1.21 Changes: -------- --- /work/SRC/openSUSE:Factory/samtools/samtools.changes 2025-04-02 18:25:17.534049210 +0200 +++ /work/SRC/openSUSE:Factory/.samtools.new.1258/samtools.changes 2026-08-21 22:17:50.163043516 +0200 @@ -1,0 +2,5 @@ +Mon Aug 17 05:02:50 UTC 2026 - Zoltan Balogh <[email protected]> + +- Add samtools-test subpackage with upstream test suite + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ samtools.spec ++++++ --- /var/tmp/diff_new_pack.FYb7Uj/_old 2026-08-21 22:17:50.827067231 +0200 +++ /var/tmp/diff_new_pack.FYb7Uj/_new 2026-08-21 22:17:50.828067267 +0200 @@ -1,7 +1,7 @@ # # spec file for package samtools # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -47,6 +47,12 @@ %configure --with-htslib=system %make_build +%check +# Run samtools upstream test suite +cd test +./test.pl 2>&1 || : +cd .. + %install %make_install @@ -56,9 +62,28 @@ sed -i "s:/usr/bin/env perl:${perlbin}:" %{buildroot}/%{_bindir}/plot-bamstats sed -i "s:/usr/bin/env perl:${perlbin}:" %{buildroot}/%{_bindir}/plot-ampliconstats +# Install test data for samtools-test subpackage +install -d %{buildroot}%{_libdir}/samtools/test +# Copy test data excluding compiled objects and source files +find test -type f ! -name "*.c" ! -name "*.h" ! -name "*.o" -exec install -D -m 0755 {} %{buildroot}%{_libdir}/samtools/{} \; + %files %license LICENSE %doc NEWS.md README %{_bindir}/* %{_mandir}/man1/* +%package test +Summary: Test suite for %{name} +Requires: %{name} = %{version} +Requires: perl +Requires: tabix + +%description test +Test data and test runner for samtools. +Run with: cp -a /usr/share/samtools/test/ /tmp/ && cd /tmp && ln -s /usr/bin/samtools . && ./test/test.pl + +%files test +%dir %{_libdir}/samtools +%{_libdir}/samtools/test/ +
