From e23365dc628b51d0ff64ad66fc6bdf5767743b1f3a4e61e35b95b50b5b5f1aaa Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Wed, 9 Jun 2021 07:36:07 +0000 Subject: [PATCH 1/2] Version 1.08 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libzio?expand=0&rev=43 --- libzio-1.06.tar.bz2 | 3 --- libzio-1.08.tar.bz2 | 3 +++ libzio.changes | 10 ++++++++++ libzio.spec | 25 ++++++++++++++++--------- 4 files changed, 29 insertions(+), 12 deletions(-) delete mode 100644 libzio-1.06.tar.bz2 create mode 100644 libzio-1.08.tar.bz2 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..c750f96 100644 --- a/libzio.changes +++ b/libzio.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +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..b7381e9 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/ +URL: http://libzio.sourceforge.net/ Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{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 From a97225d1fd2d7f64c9b047e4ee8b4ab3fd42003de4128d196224dc52cd563717 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Wed, 9 Jun 2021 08:25:15 +0000 Subject: [PATCH 2/2] . OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libzio?expand=0&rev=44 --- libzio.changes | 5 +++++ libzio.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libzio.changes b/libzio.changes index c750f96..0264cf5 100644 --- a/libzio.changes +++ b/libzio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/libzio.spec b/libzio.spec index b7381e9..2760ea4 100644 --- a/libzio.spec +++ b/libzio.spec @@ -24,7 +24,7 @@ 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 +Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{version}.tar.bz2 Source1: baselibs.conf BuildRequires: libbz2-devel BuildRequires: libzstd-devel