Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zoo for openSUSE:Factory checked in 
at 2026-10-13 17:43:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zoo (Old)
 and      /work/SRC/openSUSE:Factory/.zoo.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zoo"

Tue Oct 13 17:43:44 2026 rev:28 rq:1384432 version:2.10.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/zoo/zoo.changes  2026-09-14 16:22:33.334004431 
+0200
+++ /work/SRC/openSUSE:Factory/.zoo.new.3698736/zoo.changes     2026-10-13 
17:44:25.891017558 +0200
@@ -1,0 +2,9 @@
+Mon Oct 12 17:47:21 UTC 2026 - Tomáš Chvátal <[email protected]>
+
+- Add %check section with an archive round-trip smoke test
+  (create, list, extract and compare a test archive, plus a
+  fiz directory scan); upstream has no testsuite.
+- Modernize License tag to the SPDX LicenseRef form
+  (spec-cleaner).
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ zoo.spec ++++++
--- /var/tmp/diff_new_pack.5fDKRg/_old  2026-10-13 17:44:26.950061941 +0200
+++ /var/tmp/diff_new_pack.5fDKRg/_new  2026-10-13 17:44:26.952062024 +0200
@@ -20,7 +20,7 @@
 Version:        2.10.1
 Release:        0
 Summary:        Pack Program
-License:        SUSE-Public-Domain
+License:        LicenseRef-SUSE-Public-Domain
 URL:            https://en.wikipedia.org/wiki/Zoo_(file_format)
 # Upstream 2.10 patchlevel 1 (no newer release; author dead since 1993).
 # Original ftp MASTER_SITES are gone; tarball from a distro mirror,
@@ -64,6 +64,23 @@
 install -Dpm 0644 fiz.1 \
   %{buildroot}/%{_mandir}/man1/fiz.1
 
+%check
+# No upstream testsuite (final release is from 1991); smoke-test the
+# built binaries with an archive round-trip instead.
+tmpdir=$(mktemp -d)
+pushd "$tmpdir"
+echo "zoo round-trip test" > testfile.txt
+%{buildroot}%{_bindir}/zoo a testarc testfile.txt
+%{buildroot}%{_bindir}/zoo l testarc.zoo | grep -q testfile.txt
+mkdir extract
+pushd extract
+%{buildroot}%{_bindir}/zoo x ../testarc.zoo
+cmp testfile.txt ../testfile.txt
+popd
+%{buildroot}%{_bindir}/fiz testarc.zoo | grep -q testfile.txt
+popd
+rm -rf "$tmpdir"
+
 %files
 %license Copyright
 %{_bindir}/fiz

Reply via email to