From d1b1bd4677339aeb07c31744c436e5ec5b6ea6d71b92815163ebf243a4351ab5 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 12 Mar 2021 22:48:24 +0000 Subject: [PATCH 1/2] Accepting request 878627 from home:dirkmueller:Factory - update to 1.9: * main.cc (main): Report an error if a file name is empty. Make '-o' behave like '-c', but writing to file instead of stdout. Make '-c' and '-o' check whether the output is a terminal only once. Do not open output if input is a terminal. * main.cc: New option '--check-lib'. * Replace 'decompressed', 'compressed' with 'out', 'in' in output. * decompress.cc, dec_stream.cc, dec_stdout.cc: Continue testing if any input file fails the test. Show the largest dictionary size in a multimember file. * main.cc: Show final diagnostic when testing multiple files. * decompress.cc, dec_stream.cc [LZ_API_VERSION >= 1012]: Avoid copying decompressed data when testing with lzlib 1.12 or newer. * compress.cc, dec_stream.cc: Start only the worker threads required. * dec_stream.cc: Splitter stops reading when trailing data is found. Don't include trailing data in the compressed size shown. Use plain comparison instead of Boyer-Moore to search for headers. * lzip_index.cc: Improve messages for corruption in last header. * decompress.cc: Shorten messages 'Data error' and 'Unexpected EOF'. * main.cc: Set a valid invocation_name even if argc == 0. * Document extraction from tar.lz in manual, '--help', and man page. * plzip.texi (Introduction): Mention tarlz as an alternative. * plzip.texi: Several fixes and improvements. * testsuite: Add 8 new test files. OBS-URL: https://build.opensuse.org/request/show/878627 OBS-URL: https://build.opensuse.org/package/show/Archiving/plzip?expand=0&rev=29 --- plzip-1.8.tar.gz | 3 --- plzip-1.8.tar.gz.sig | Bin 72 -> 0 bytes plzip-1.9.tar.gz | 3 +++ plzip-1.9.tar.gz.sig | Bin 0 -> 72 bytes plzip.changes | 28 ++++++++++++++++++++++++++++ plzip.spec | 29 ++++++++++++++--------------- 6 files changed, 45 insertions(+), 18 deletions(-) delete mode 100644 plzip-1.8.tar.gz delete mode 100644 plzip-1.8.tar.gz.sig create mode 100644 plzip-1.9.tar.gz create mode 100644 plzip-1.9.tar.gz.sig diff --git a/plzip-1.8.tar.gz b/plzip-1.8.tar.gz deleted file mode 100644 index 0936129..0000000 --- a/plzip-1.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:edafae3c15142ac0ebd84c2231ff81da4f68db58359a737e750f2780686c3612 -size 72365 diff --git a/plzip-1.8.tar.gz.sig b/plzip-1.8.tar.gz.sig deleted file mode 100644 index 4c2232cca31c6c3e34fc1affe39bdec400d9af31d49c1e6e7b7f71924ee06ae5..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 72 zcmV-O0Jr~$Mg#y60ssaD0$eciL;wm25Rd7V0~0NGLjIEgoe&2Kbuz4krw+>WQd)G| e?qNz?Rsf%1{S?q$1!Pd-^AaQ$pae@3XPFo&2^jGJ diff --git a/plzip-1.9.tar.gz b/plzip-1.9.tar.gz new file mode 100644 index 0000000..d753b0e --- /dev/null +++ b/plzip-1.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14d8d1db8dde76bdd9060b59d50b2943417eb4c0fbd2b84736546b78fab5f1a7 +size 93312 diff --git a/plzip-1.9.tar.gz.sig b/plzip-1.9.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..4e644d9cf558de3f73e27f80c0e36f4e8522255958f5581c190ffa0a6b9caf18 GIT binary patch literal 72 zcmV-O0Jr~$Mg#y60ssaD0$=o{Yyb)g5Rd7V0~0NGLfvctpM8uVC}B}z8~;Apo9ipc ejDIZb&;XqfQ3HPKqE``;BfB?oX{ST+)A-P4YaG}B literal 0 HcmV?d00001 diff --git a/plzip.changes b/plzip.changes index c926445..b765419 100644 --- a/plzip.changes +++ b/plzip.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Fri Mar 12 20:51:45 UTC 2021 - Dirk Müller + +- update to 1.9: + * main.cc (main): Report an error if a file name is empty. + Make '-o' behave like '-c', but writing to file instead of stdout. + Make '-c' and '-o' check whether the output is a terminal only once. + Do not open output if input is a terminal. + * main.cc: New option '--check-lib'. + * Replace 'decompressed', 'compressed' with 'out', 'in' in output. + * decompress.cc, dec_stream.cc, dec_stdout.cc: + Continue testing if any input file fails the test. + Show the largest dictionary size in a multimember file. + * main.cc: Show final diagnostic when testing multiple files. + * decompress.cc, dec_stream.cc [LZ_API_VERSION >= 1012]: Avoid + copying decompressed data when testing with lzlib 1.12 or newer. + * compress.cc, dec_stream.cc: Start only the worker threads required. + * dec_stream.cc: Splitter stops reading when trailing data is found. + Don't include trailing data in the compressed size shown. + Use plain comparison instead of Boyer-Moore to search for headers. + * lzip_index.cc: Improve messages for corruption in last header. + * decompress.cc: Shorten messages 'Data error' and 'Unexpected EOF'. + * main.cc: Set a valid invocation_name even if argc == 0. + * Document extraction from tar.lz in manual, '--help', and man page. + * plzip.texi (Introduction): Mention tarlz as an alternative. + * plzip.texi: Several fixes and improvements. + * testsuite: Add 8 new test files. + ------------------------------------------------------------------- Mon Jan 7 21:18:14 UTC 2019 - Jan Engelhardt diff --git a/plzip.spec b/plzip.spec index 4c0af79..1a7c9ec 100644 --- a/plzip.spec +++ b/plzip.spec @@ -1,7 +1,7 @@ # # spec file for package plzip # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2012 Pascal Bleser # # All modifications and additions to the file contributed by third parties @@ -18,20 +18,19 @@ Name: plzip -Version: 1.8 +Version: 1.9 Release: 0 Summary: Parallel LZMA Data Compressor License: GPL-2.0-or-later Group: Productivity/Archiving/Compression -URL: http://www.nongnu.org/lzip/plzip.html -Source: http://download.savannah.gnu.org/releases/lzip/plzip/%name-%version.tar.gz -Source2: http://download.savannah.gnu.org/releases/lzip/plzip/%name-%version.tar.gz.sig +URL: https://www.nongnu.org/lzip/plzip.html +Source: https://download.savannah.gnu.org/releases/lzip/plzip/%{name}-%{version}.tar.gz +Source2: https://download.savannah.gnu.org/releases/lzip/plzip/%{name}-%{version}.tar.gz.sig Source3: %name.keyring -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: c++_compiler BuildRequires: lzlib-devel Requires(post): %install_info_prereq -Requires(preun): %install_info_prereq +Requires(preun): %install_info_prereq %description Plzip is a parallel version of the lzip data compressor. The files @@ -55,8 +54,8 @@ pushd build/ ../configure --prefix="%_prefix" --bindir="%_bindir" --datadir="%_datadir" \ --includedir="%_includedir" --infodir="%_infodir" --libdir="%_libdir" \ --mandir="%_mandir" --sysconfdir="%_sysconfdir" --enable-shared \ - CC="%__cc" CFLAGS="%optflags" CXX="%__cxx" CXXFLAGS="%optflags" -make %{?_smp_flags} + CC="gcc" CFLAGS="%optflags" CXX="g++" CXXFLAGS="%optflags" +%make_build popd %install @@ -66,20 +65,20 @@ popd %check pushd build/ -make %{?_smp_mflags} check +%make_build check popd %post -%install_info --info-dir="%_infodir" "%_infodir/%name.info%ext_info" +%install_info --info-dir="%_infodir" "%_infodir/%{name}.info%ext_info" %preun %install_info_delete --info-dir="%_infodir" "%_infodir/%name.info%ext_info" %files -%defattr(-,root,root) -%doc AUTHORS ChangeLog COPYING NEWS README +%license COPYING +%doc AUTHORS ChangeLog NEWS README %_bindir/plzip -%_infodir/plzip.info* -%_mandir/man1/plzip.1* +%_infodir/plzip.info%{?ext_info} +%_mandir/man1/plzip.1%{?ext_man} %changelog From 67eeaa2798b46b6c3aa256817b95e3a1055d1aa298e863389538b24309fe1b13 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 12 Mar 2021 22:49:09 +0000 Subject: [PATCH 2/2] drop CC/CXX override completely OBS-URL: https://build.opensuse.org/package/show/Archiving/plzip?expand=0&rev=30 --- plzip.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plzip.spec b/plzip.spec index 1a7c9ec..98c7c10 100644 --- a/plzip.spec +++ b/plzip.spec @@ -24,8 +24,8 @@ Summary: Parallel LZMA Data Compressor License: GPL-2.0-or-later Group: Productivity/Archiving/Compression URL: https://www.nongnu.org/lzip/plzip.html -Source: https://download.savannah.gnu.org/releases/lzip/plzip/%{name}-%{version}.tar.gz -Source2: https://download.savannah.gnu.org/releases/lzip/plzip/%{name}-%{version}.tar.gz.sig +Source: https://download.savannah.gnu.org/releases/lzip/plzip/%name-%version.tar.gz +Source2: https://download.savannah.gnu.org/releases/lzip/plzip/%name-%version.tar.gz.sig Source3: %name.keyring BuildRequires: c++_compiler BuildRequires: lzlib-devel @@ -54,7 +54,7 @@ pushd build/ ../configure --prefix="%_prefix" --bindir="%_bindir" --datadir="%_datadir" \ --includedir="%_includedir" --infodir="%_infodir" --libdir="%_libdir" \ --mandir="%_mandir" --sysconfdir="%_sysconfdir" --enable-shared \ - CC="gcc" CFLAGS="%optflags" CXX="g++" CXXFLAGS="%optflags" + CFLAGS="%optflags" CXXFLAGS="%optflags" %make_build popd @@ -69,7 +69,7 @@ pushd build/ popd %post -%install_info --info-dir="%_infodir" "%_infodir/%{name}.info%ext_info" +%install_info --info-dir="%_infodir" "%_infodir/%name.info%ext_info" %preun %install_info_delete --info-dir="%_infodir" "%_infodir/%name.info%ext_info" @@ -78,7 +78,7 @@ popd %license COPYING %doc AUTHORS ChangeLog NEWS README %_bindir/plzip -%_infodir/plzip.info%{?ext_info} -%_mandir/man1/plzip.1%{?ext_man} +%_infodir/plzip.info* +%_mandir/man1/plzip.1* %changelog