Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libzim for openSUSE:Factory checked in at 2026-07-12 17:12:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libzim (Old) and /work/SRC/openSUSE:Factory/.libzim.new.1991 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libzim" Sun Jul 12 17:12:55 2026 rev:5 rq:1365012 version:9.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libzim/libzim.changes 2026-06-18 18:41:43.099770354 +0200 +++ /work/SRC/openSUSE:Factory/.libzim.new.1991/libzim.changes 2026-07-12 17:12:57.092944900 +0200 @@ -1,0 +2,7 @@ +Sun Jul 12 04:42:25 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to version 9.8.1: + * Fix a 9.8.0 regression in the ZIM creator's final file + renaming + +------------------------------------------------------------------- Old: ---- libzim-9.8.0.tar.gz New: ---- libzim-9.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libzim.spec ++++++ --- /var/tmp/diff_new_pack.rkLMKF/_old 2026-07-12 17:12:57.856970672 +0200 +++ /var/tmp/diff_new_pack.rkLMKF/_new 2026-07-12 17:12:57.856970672 +0200 @@ -18,7 +18,7 @@ %define sover 9 Name: libzim -Version: 9.8.0 +Version: 9.8.1 Release: 0 Summary: Reference implementation for the ZIM file format License: GPL-2.0-or-later ++++++ libzim-9.8.0.tar.gz -> libzim-9.8.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzim-9.8.0/ChangeLog new/libzim-9.8.1/ChangeLog --- old/libzim-9.8.0/ChangeLog 2026-06-17 10:05:50.000000000 +0200 +++ new/libzim-9.8.1/ChangeLog 2026-07-11 15:50:37.000000000 +0200 @@ -1,3 +1,9 @@ +libzim 9.8.1 +============ + + * Fix 9.8.0 creator regression in ZIM final renaming (@kelson42 #1108) + * Fixing Windows CI stability (@veloman-yunkan #1103) + libzim 9.8.0 ============ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzim-9.8.0/meson.build new/libzim-9.8.1/meson.build --- old/libzim-9.8.0/meson.build 2026-06-17 10:05:50.000000000 +0200 +++ new/libzim-9.8.1/meson.build 2026-07-11 15:50:37.000000000 +0200 @@ -1,5 +1,5 @@ project('libzim', ['c', 'cpp'], - version : '9.8.0', + version : '9.8.1', license : 'GPL2', default_options : ['c_std=c11', 'cpp_std=c++17', 'werror=true']) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzim-9.8.0/src/writer/creator.cpp new/libzim-9.8.1/src/writer/creator.cpp --- old/libzim-9.8.0/src/writer/creator.cpp 2026-06-17 10:05:50.000000000 +0200 +++ new/libzim-9.8.1/src/writer/creator.cpp 2026-07-11 15:50:37.000000000 +0200 @@ -503,12 +503,13 @@ writeLastParts(); data->outFile.closeFile(); + INFO("Adding checksum..."); + addChecksum(data->tmpFileName); + TINFO("rename tmpfile to final one."); DEFAULTFS::rename(data->tmpFileName, data->zimName); data->tmpFileName.clear(); - INFO("Adding checksum..."); - addChecksum(data->zimName); INFO("ZIM file is ready!"); TINFO("finish"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzim-9.8.0/test/log.cpp new/libzim-9.8.1/test/log.cpp --- old/libzim-9.8.0/test/log.cpp 2026-06-17 10:05:50.000000000 +0200 +++ new/libzim-9.8.1/test/log.cpp 2026-07-11 15:50:37.000000000 +0200 @@ -82,8 +82,11 @@ // of waking up the concurrent thread at the right time under high load. using namespace std::chrono_literals; - for ( unsigned i = 0; i < milliseconds; ++i ) + const std::chrono::milliseconds d(milliseconds); + const auto endTime = std::chrono::high_resolution_clock::now() + d; + do { std::this_thread::sleep_for(1ms); + } while ( std::chrono::high_resolution_clock::now() < endTime ); } TEST(Log, concurrencyOrchestration) {
