Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package par for openSUSE:Factory checked in at 2026-10-15 16:12:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/par (Old) and /work/SRC/openSUSE:Factory/.par.new.3698736 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "par" Thu Oct 15 16:12:56 2026 rev:23 rq:1384973 version:1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/par/par.changes 2026-06-02 16:10:30.158254781 +0200 +++ /work/SRC/openSUSE:Factory/.par.new.3698736/par.changes 2026-10-15 16:13:16.501856923 +0200 @@ -1,0 +2,7 @@ +Wed Oct 14 21:17:32 UTC 2026 - Tomáš Chvátal <[email protected]> + +- Add a %check smoke test: upstream ships no testsuite, so create + parity volumes with the freshly built binary, delete a data file, + recover it from the parity volumes and verify the restored content + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ par.spec ++++++ --- /var/tmp/diff_new_pack.xQ1y0R/_old 2026-10-15 16:13:17.167884791 +0200 +++ /var/tmp/diff_new_pack.xQ1y0R/_new 2026-10-15 16:13:17.168884832 +0200 @@ -41,6 +41,22 @@ %install %make_install +%check +# Upstream has no testsuite; smoke-test the core function end to end: +# create parity volumes, delete a data file, recover it, verify content. +mkdir check-tmp +pushd check-tmp +for i in 1 2 3; do + head -c 100000 /dev/urandom > data$i.bin +done +md5sum data1.bin data2.bin data3.bin > before.md5 +%{buildroot}%{_bindir}/par a -n2 test.par data1.bin data2.bin data3.bin +%{buildroot}%{_bindir}/par c test.par +rm data2.bin +%{buildroot}%{_bindir}/par r test.par +md5sum -c before.md5 +popd + %files %doc README AUTHORS NEWS %license COPYING
