diff --git a/rust-zstd-sys.spec b/rust-zstd-sys.spec index d9f2797..f3e2c85 100644 --- a/rust-zstd-sys.spec +++ b/rust-zstd-sys.spec @@ -7,7 +7,7 @@ Name: rust-%{crate} Version: 1.4.17 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Low-level bindings for the zstd compression library # Upstream license specification: MIT/Apache-2.0 @@ -17,6 +17,7 @@ Source: %{crates_source %{crate} %{upstream_version}} # Initial patched metadata # * Remove zstd version from version field # * Make pkg-config default +# * Bump bindgen to 0.56: https://github.com/gyscos/zstd-rs/pull/97 Patch0: zstd-sys-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -170,6 +171,9 @@ export LLVM_CONFIG_PATH=/usr/bin/llvm-config-%{__isa_bits} %endif %changelog +* Fri Nov 27 2020 Fabio Valentini - 1.4.17-3 +- Bump to bindgen 0.56. + * Wed Jul 29 2020 Fedora Release Engineering - 1.4.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/zstd-sys-fix-metadata.diff b/zstd-sys-fix-metadata.diff index 32687e1..2b9b323 100644 --- a/zstd-sys-fix-metadata.diff +++ b/zstd-sys-fix-metadata.diff @@ -1,5 +1,5 @@ --- zstd-sys-1.4.17+zstd.1.4.5/Cargo.toml 2020-06-14T06:25:46+00:00 -+++ zstd-sys-1.4.17+zstd.1.4.5/Cargo.toml 2020-06-19T22:30:19.850041+00:00 ++++ zstd-sys-1.4.17+zstd.1.4.5/Cargo.toml 2020-11-27T23:45:14.946189+00:00 @@ -12,7 +12,7 @@ [package] @@ -9,6 +9,15 @@ authors = ["Alexandre Bury "] build = "build.rs" links = "zstd" +@@ -30,7 +30,7 @@ + [dependencies.libc] + version = "0.2.45" + [build-dependencies.bindgen] +-version = "0.54" ++version = "0.56" + optional = true + + [build-dependencies.cc] @@ -48,7 +48,7 @@ optional = true