Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xar for openSUSE:Factory checked in at 2026-10-15 16:12:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xar (Old) and /work/SRC/openSUSE:Factory/.xar.new.3698736 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xar" Thu Oct 15 16:12:55 2026 rev:14 rq:1384971 version:1.8.0.0.503 Changes: -------- --- /work/SRC/openSUSE:Factory/xar/xar.changes 2026-06-22 17:38:49.893506596 +0200 +++ /work/SRC/openSUSE:Factory/.xar.new.3698736/xar.changes 2026-10-15 16:13:15.530816292 +0200 @@ -1,0 +2,10 @@ +Wed Oct 14 21:20:22 UTC 2026 - Tomáš Chvátal <[email protected]> + +- Add a %check section: a smoke test that round-trips an archive + with the just-built binary (create, list, extract, byte-compare) + for the default and bzip2 encodings +- Give libxar1 and libxar-devel their own summaries and + descriptions instead of repeating the main package text, and fix + the "Extensive" typo in the library summary + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xar.spec ++++++ --- /var/tmp/diff_new_pack.5aJ39z/_old 2026-10-15 16:13:16.257846713 +0200 +++ /var/tmp/diff_new_pack.5aJ39z/_new 2026-10-15 16:13:16.260846838 +0200 @@ -67,31 +67,19 @@ table of content's rich meta-data. %package -n libxar%{sover} -Summary: Extensive Archive Format Library +Summary: Extensible Archive Format Library %description -n libxar%{sover} -The XAR project aims to provide an easily extensible archive format. Important -design decisions include an easily extensible XML table of contents for random -access to archived files, storing the toc at the beginning of the archive to -allow for efficient handling of streamed archives, the ability to handle files -of arbitrarily large sizes, the ability to choose independent encodings for -individual files in the archive, the ability to store checksums for individual -files in both compressed and uncompressed form, and the ability to query the -table of content's rich meta-data. +This package contains the shared library for creating, reading and +extracting XAR (Extensible Archive Format) archives. %package -n libxar-devel -Summary: Extensive Archive Format Library +Summary: Development files for the XAR archive format library Requires: libxar%{sover} = %{version} %description -n libxar-devel -The XAR project aims to provide an easily extensible archive format. Important -design decisions include an easily extensible XML table of contents for random -access to archived files, storing the toc at the beginning of the archive to -allow for efficient handling of streamed archives, the ability to handle files -of arbitrarily large sizes, the ability to choose independent encodings for -individual files in the archive, the ability to store checksums for individual -files in both compressed and uncompressed form, and the ability to query the -table of content's rich meta-data. +This package contains the header files and libraries needed to +develop programs that use libxar. %prep %setup -q -n %{name}-%{name}-%{apple} @@ -120,10 +108,29 @@ ./autogen.sh --noconfigure export LIBS="$(pkg-config --libs openssl)" export CFLAGS="%{optflags} -Wno-unused-result" +# lzma compression is not enabled: the bundled lzma codec targets the pre-release liblzma 4.42 API that was removed in liblzma 5.x. %configure --disable-static %make_build popd +%check +pushd xar +mkdir -p smoke/tree/sub smoke/out smoke/out2 +printf 'xar smoke test payload\n' > smoke/tree/sub/data.txt +cp LICENSE smoke/tree/ +export LD_LIBRARY_PATH="$PWD/lib" +# round-trip with the default encoding, verifying the extracted files +src/xar -c -f smoke/default.xar smoke/tree +src/xar -t -f smoke/default.xar | grep -qx smoke/tree/sub/data.txt +src/xar -x -f smoke/default.xar -C smoke/out +cmp smoke/tree/sub/data.txt smoke/out/smoke/tree/sub/data.txt +cmp smoke/tree/LICENSE smoke/out/smoke/tree/LICENSE +# the bzip2 encoding exercises a different compression backend +src/xar -c --compression bzip2 -f smoke/bzip2.xar smoke/tree +src/xar -x -f smoke/bzip2.xar -C smoke/out2 +cmp smoke/tree/sub/data.txt smoke/out2/smoke/tree/sub/data.txt +popd + %install pushd xar %make_install
