diff --git a/libzio-1.06.tar.bz2 b/libzio-1.06.tar.bz2 deleted file mode 100644 index 00efaf4..0000000 --- a/libzio-1.06.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d83f9cac6076f26c4c5e10dc07f44e982e224e66f0c9a67af03dddb01bcac930 -size 22213 diff --git a/libzio-1.08.tar.bz2 b/libzio-1.08.tar.bz2 new file mode 100644 index 0000000..7976e7a --- /dev/null +++ b/libzio-1.08.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e34e9fa0294a7b8e1ec4e975bf9d2d6f971b7626683c67e2414a3112e68ec29e +size 26245 diff --git a/libzio.changes b/libzio.changes index d062815..0264cf5 100644 --- a/libzio.changes +++ b/libzio.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Jun 9 08:24:52 UTC 2021 - Dr. Werner Fink + +- Correct download URL + +------------------------------------------------------------------- +Wed Jun 9 07:24:43 UTC 2021 - Dr. Werner Fink + +- Version 1.08: Fix bug triggered by short files + +------------------------------------------------------------------- +Tue Jun 8 13:43:13 UTC 2021 - Dr. Werner Fink + +- Version 1.07: Add support for zstd at least for write and read + ------------------------------------------------------------------- Fri Aug 2 06:50:26 UTC 2019 - Martin Liška diff --git a/libzio.spec b/libzio.spec index 96ea995..2760ea4 100644 --- a/libzio.spec +++ b/libzio.spec @@ -1,7 +1,7 @@ # # spec file for package libzio # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,17 +18,19 @@ Name: libzio %define lname libzio1 -Version: 1.06 +Version: 1.08 Release: 0 Summary: A Library for Accessing Compressed Text Files License: GPL-2.0-or-later Group: System/Libraries -Url: http://libzio.sourceforge.net/ -Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.bz2 +URL: http://libzio.sourceforge.net/ +Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{version}.tar.bz2 Source1: baselibs.conf BuildRequires: libbz2-devel +BuildRequires: libzstd-devel BuildRequires: xz-devel BuildRequires: zlib-devel +BuildRequires: zstd BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -63,15 +65,20 @@ and static library. make %{?_smp_mflags} noweak %check -make testt -make tests -make testx -for comp in gzip bzip2 lzma xz +make testt tests testx +for comp in gzip bzip2 lzma xz zstd do + case $comp in + gzip) x=g ;; + bzip2) x=b ;; + lzma) x=l ;; + xz) x=x ;; + zstd) x=s ;; + esac $comp -c < fzopen.3.in > fzopen.test ./testt fzopen.test | cmp fzopen.3.in - - cat fzopen.test | ./tests ${comp:0:1} | cmp fzopen.3.in - - ./testx ${comp:0:1} < fzopen.3.in | ./tests ${comp:0:1} | cmp fzopen.3.in - + cat fzopen.test | ./tests $x | cmp fzopen.3.in - + ./testx $x < fzopen.3.in | ./tests $x | cmp fzopen.3.in - done %install