SHA256
1
0
forked from pool/zchunk

- Rebase to 0.9.11

+ Fix small bug where creating a zck_dl context fails when zck
    context is NULL
  + Fix security bugs found by Coverity
  + Fix test failures for zstd <= 1.3.4
  + Add gen_xml_dictionary to libexecdir with zck_ prefix
  + Fix intermittent bug where auto-chunking wasn't deterministic
  + ABI (but not API change) - Use bool from stdbool.h
  + Allow specification of output file in zck
  + Set minimum and maximum chunk sizes for both automatic and
    manual chunking
  + New error handling functions
  + File format changes
  + API changes
- Make requirements between subpackages stricter to avoid issues
  due to inter-subpackage ABI/API changes

OBS-URL: https://build.opensuse.org/package/show/Archiving/zchunk?expand=0&rev=10
This commit is contained in:
Neal Gompa 2018-09-29 00:49:32 +00:00 committed by Git OBS Bridge
parent c59c6e5866
commit dabca671bd
4 changed files with 34 additions and 7 deletions

View File

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

3
zchunk-0.9.11.tar.gz Normal file
View File

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

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sat Sep 29 00:40:50 UTC 2018 - Neal Gompa <ngompa13@gmail.com>
- Rebase to 0.9.11
+ Fix small bug where creating a zck_dl context fails when zck
context is NULL
+ Fix security bugs found by Coverity
+ Fix test failures for zstd <= 1.3.4
+ Add gen_xml_dictionary to libexecdir with zck_ prefix
+ Fix intermittent bug where auto-chunking wasn't deterministic
+ ABI (but not API change) - Use bool from stdbool.h
+ Allow specification of output file in zck
+ Set minimum and maximum chunk sizes for both automatic and
manual chunking
+ New error handling functions
+ File format changes
+ API changes
- Make requirements between subpackages stricter to avoid issues
due to inter-subpackage ABI/API changes
-------------------------------------------------------------------
Wed Jul 18 08:09:07 UTC 2018 - Martin Pluskal <mpluskal@suse.com>

View File

@ -20,8 +20,9 @@
%global somajor 1
%global libname libzck%{somajor}
%global devname libzck-devel
Name: zchunk
Version: 0.7.6
Version: 0.9.11
Release: 0
Summary: Compressed file format that allows easy deltas
License: BSD-2-Clause AND MIT
@ -34,6 +35,8 @@ BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(openssl)
Provides: bundled(buzhash-urlblock) = 0.1
# ABI is unstable between components and ensures that patching doesn't break things
Requires: %{libname} = %{version}-%{release}
%description
zchunk is a compressed file format that splits the file into independent
@ -58,7 +61,7 @@ This package contains the zchunk library, libzck.
%package -n %{devname}
Summary: Headers for building against zchunk
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
Requires: %{libname} = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}
%description -n %{devname}
@ -77,11 +80,14 @@ library, libzck.
rm -rf src/lib/hash/sha*
%build
%meson -Dwith-zstd=yes -Dwith-openssl=yes
%meson -Dwith-openssl=enabled -Dwith-zstd=enabled
%meson_build
%install
%meson_install
# Install dictionary generation script
mkdir -p %{buildroot}%{_libexecdir}
install -p contrib/gen_xml_dictionary %{buildroot}%{_libexecdir}/zck_gen_xml_dictionary
%check
%meson_test
@ -90,10 +96,11 @@ rm -rf src/lib/hash/sha*
%postun -n %{libname} -p /sbin/ldconfig
%files
%doc README.md
%doc README.md contrib
%license LICENSE
%{_bindir}/zck*
%{_bindir}/unzck
%{_libexecdir}/zck_gen_xml_dictionary
%files -n %{libname}
%license LICENSE