Accepting request 639072 from Archiving
- Bump meson build dependency to match meson.build requirement - 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/request/show/639072 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zchunk?expand=0&rev=3
This commit is contained in:
@@ -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
3
zchunk-0.9.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ab521a7c99a4a273a924a7c21f0947b79285ff416b9217c6dbab760e4d306317
|
||||||
|
size 1418276
|
@@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 29 00:51:14 UTC 2018 - Neal Gompa <ngompa13@gmail.com>
|
||||||
|
|
||||||
|
- Bump meson build dependency to match meson.build requirement
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Wed Jul 18 08:09:07 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
17
zchunk.spec
17
zchunk.spec
@@ -20,20 +20,23 @@
|
|||||||
%global somajor 1
|
%global somajor 1
|
||||||
%global libname libzck%{somajor}
|
%global libname libzck%{somajor}
|
||||||
%global devname libzck-devel
|
%global devname libzck-devel
|
||||||
|
|
||||||
Name: zchunk
|
Name: zchunk
|
||||||
Version: 0.7.6
|
Version: 0.9.11
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Compressed file format that allows easy deltas
|
Summary: Compressed file format that allows easy deltas
|
||||||
License: BSD-2-Clause AND MIT
|
License: BSD-2-Clause AND MIT
|
||||||
Group: Productivity/Archiving/Compression
|
Group: Productivity/Archiving/Compression
|
||||||
URL: https://github.com/zchunk/zchunk
|
URL: https://github.com/zchunk/zchunk
|
||||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: meson
|
BuildRequires: meson >= 0.44.0
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(libcurl)
|
BuildRequires: pkgconfig(libcurl)
|
||||||
BuildRequires: pkgconfig(libzstd)
|
BuildRequires: pkgconfig(libzstd)
|
||||||
BuildRequires: pkgconfig(openssl)
|
BuildRequires: pkgconfig(openssl)
|
||||||
Provides: bundled(buzhash-urlblock) = 0.1
|
Provides: bundled(buzhash-urlblock) = 0.1
|
||||||
|
# ABI is unstable between components and ensures that patching doesn't break things
|
||||||
|
Requires: %{libname} = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
zchunk is a compressed file format that splits the file into independent
|
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}
|
%package -n %{devname}
|
||||||
Summary: Headers for building against zchunk
|
Summary: Headers for building against zchunk
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{libname} = %{version}
|
Requires: %{libname} = %{version}-%{release}
|
||||||
Provides: %{name}-devel = %{version}-%{release}
|
Provides: %{name}-devel = %{version}-%{release}
|
||||||
|
|
||||||
%description -n %{devname}
|
%description -n %{devname}
|
||||||
@@ -77,11 +80,14 @@ library, libzck.
|
|||||||
rm -rf src/lib/hash/sha*
|
rm -rf src/lib/hash/sha*
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson -Dwith-zstd=yes -Dwith-openssl=yes
|
%meson -Dwith-openssl=enabled -Dwith-zstd=enabled
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
# Install dictionary generation script
|
||||||
|
mkdir -p %{buildroot}%{_libexecdir}
|
||||||
|
install -p contrib/gen_xml_dictionary %{buildroot}%{_libexecdir}/zck_gen_xml_dictionary
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%meson_test
|
%meson_test
|
||||||
@@ -90,10 +96,11 @@ rm -rf src/lib/hash/sha*
|
|||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md contrib
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/zck*
|
%{_bindir}/zck*
|
||||||
%{_bindir}/unzck
|
%{_bindir}/unzck
|
||||||
|
%{_libexecdir}/zck_gen_xml_dictionary
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Reference in New Issue
Block a user