SHA256
1
0
forked from pool/plzip

Accepting request 878667 from Archiving

- update to 1.9:

OBS-URL: https://build.opensuse.org/request/show/878667
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plzip?expand=0&rev=12
This commit is contained in:
Richard Brown 2021-03-30 19:16:20 +00:00 committed by Git OBS Bridge
commit 55a8b6d46d
6 changed files with 42 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:edafae3c15142ac0ebd84c2231ff81da4f68db58359a737e750f2780686c3612
size 72365

Binary file not shown.

3
plzip-1.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:14d8d1db8dde76bdd9060b59d50b2943417eb4c0fbd2b84736546b78fab5f1a7
size 93312

BIN
plzip-1.9.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Fri Mar 12 20:51:45 UTC 2021 - Dirk Müller <dmueller@suse.com>
- 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 <jengelh@inai.de>

View File

@ -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 <pascal.bleser@opensuse.org>
#
# 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}
CFLAGS="%optflags" CXXFLAGS="%optflags"
%make_build
popd
%install
@ -66,7 +65,7 @@ popd
%check
pushd build/
make %{?_smp_mflags} check
%make_build check
popd
%post
@ -76,8 +75,8 @@ popd
%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*