Update to version 4.1.3+zstd.1.5.1; Fixes RHBZ#2035403

epel9
Fabio Valentini 3 years ago
parent f8b9e45912
commit 0e8119a06b
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -4,3 +4,4 @@
/zstd-safe-3.0.1+zstd.1.4.9.crate /zstd-safe-3.0.1+zstd.1.4.9.crate
/zstd-safe-4.0.0+zstd.1.4.9.crate /zstd-safe-4.0.0+zstd.1.4.9.crate
/zstd-safe-4.1.1+zstd.1.5.0.crate /zstd-safe-4.1.1+zstd.1.5.0.crate
/zstd-safe-4.1.3+zstd.1.5.1.crate

@ -1,12 +1,12 @@
# Generated by rust2rpm 18 # Generated by rust2rpm 20
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate zstd-safe %global crate zstd-safe
%global upstream_version 4.1.1+zstd.1.5.0 %global upstream_version 4.1.3+zstd.1.5.1
Name: rust-%{crate} Name: rust-%{crate}
Version: 4.1.1 Version: 4.1.3
Release: %autorelease Release: %autorelease
Summary: Safe low-level bindings for the zstd compression library Summary: Safe low-level bindings for the zstd compression library
@ -17,12 +17,10 @@ Source: %{crates_source %{crate} %{upstream_version}}
# Initial patched metadata # Initial patched metadata
# * Remove zstd version from version field # * Remove zstd version from version field
# * Use pkg-config and bindgen features of zstd-sys unconditionally # * Use pkg-config and bindgen features of zstd-sys unconditionally
# * Exclude a development-only shell script
Patch0: zstd-safe-fix-metadata.diff Patch0: zstd-safe-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
@ -37,11 +35,11 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license LICENSE.Apache-2.0 LICENSE.Mit
%doc Readme.md %doc Readme.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{cargo_registry}/%{crate}-%{version_no_tilde}/
@ -51,20 +49,32 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+arrays-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+arrays-devel %{_description}
This package contains library source intended for building other packages which
use the "arrays" feature of the "%{crate}" crate.
%files -n %{name}+arrays-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+bindgen-devel %package -n %{name}+bindgen-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+bindgen-devel %{_description} %description -n %{name}+bindgen-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "bindgen" feature of "%{crate}" crate. use the "bindgen" feature of the "%{crate}" crate.
%files -n %{name}+bindgen-devel %files -n %{name}+bindgen-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -75,8 +85,8 @@ BuildArch: noarch
%description -n %{name}+debug-devel %{_description} %description -n %{name}+debug-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "debug" feature of "%{crate}" crate. use the "debug" feature of the "%{crate}" crate.
%files -n %{name}+debug-devel %files -n %{name}+debug-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -87,8 +97,8 @@ BuildArch: noarch
%description -n %{name}+experimental-devel %{_description} %description -n %{name}+experimental-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "experimental" feature of "%{crate}" crate. use the "experimental" feature of the "%{crate}" crate.
%files -n %{name}+experimental-devel %files -n %{name}+experimental-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -99,20 +109,32 @@ BuildArch: noarch
%description -n %{name}+legacy-devel %{_description} %description -n %{name}+legacy-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "legacy" feature of "%{crate}" crate. use the "legacy" feature of the "%{crate}" crate.
%files -n %{name}+legacy-devel %files -n %{name}+legacy-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+no_asm-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+no_asm-devel %{_description}
This package contains library source intended for building other packages which
use the "no_asm" feature of the "%{crate}" crate.
%files -n %{name}+no_asm-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+pkg-config-devel %package -n %{name}+pkg-config-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+pkg-config-devel %{_description} %description -n %{name}+pkg-config-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "pkg-config" feature of "%{crate}" crate. use the "pkg-config" feature of the "%{crate}" crate.
%files -n %{name}+pkg-config-devel %files -n %{name}+pkg-config-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -123,8 +145,8 @@ BuildArch: noarch
%description -n %{name}+std-devel %{_description} %description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "std" feature of "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -135,8 +157,8 @@ BuildArch: noarch
%description -n %{name}+thin-devel %{_description} %description -n %{name}+thin-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "thin" feature of "%{crate}" crate. use the "thin" feature of the "%{crate}" crate.
%files -n %{name}+thin-devel %files -n %{name}+thin-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -147,8 +169,8 @@ BuildArch: noarch
%description -n %{name}+zstdmt-devel %{_description} %description -n %{name}+zstdmt-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "zstdmt" feature of "%{crate}" crate. use the "zstdmt" feature of the "%{crate}" crate.
%files -n %{name}+zstdmt-devel %files -n %{name}+zstdmt-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

@ -1 +1 @@
SHA512 (zstd-safe-4.1.1+zstd.1.5.0.crate) = 0127fd28342b118b0ddcbab0a68945f11b9c5ce68e3dcf88cca42fee0345a5818fa403cb827cdf4f4d35e17c786321ab8b3667033a1dd5b7ffcb84a11940f1d4 SHA512 (zstd-safe-4.1.3+zstd.1.5.1.crate) = e8387d866bd9cd2a4063780b36ec8b45a2c47a2103a1107ae045b17302dcd507d6740fb3681c0fdc786918fbae33b5b68e639308505de31b04b25ac43ba3b594

@ -1,19 +1,27 @@
--- zstd-safe-4.1.1+zstd.1.5.0/Cargo.toml 1970-01-01T00:00:00+00:00 --- zstd-safe-4.1.3+zstd.1.5.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ zstd-safe-4.1.1+zstd.1.5.0/Cargo.toml 2021-11-13T21:24:08.782350+00:00 +++ zstd-safe-4.1.3+zstd.1.5.1/Cargo.toml 2022-01-07T18:57:05.074668+00:00
@@ -13,7 +13,7 @@ @@ -12,7 +12,7 @@
[package] [package]
edition = "2018" edition = "2018"
name = "zstd-safe" name = "zstd-safe"
-version = "4.1.1+zstd.1.5.0" -version = "4.1.3+zstd.1.5.1"
+version = "4.1.1" +version = "4.1.3"
authors = ["Alexandre Bury <alexandre.bury@gmail.com>"] authors = ["Alexandre Bury <alexandre.bury@gmail.com>"]
build = "build.rs" build = "build.rs"
description = "Safe low-level bindings for the zstd compression library." description = "Safe low-level bindings for the zstd compression library."
@@ -30,6 +30,7 @@ @@ -21,6 +21,7 @@
categories = ["api-bindings", "compression"]
license = "MIT/Apache-2.0"
repository = "https://github.com/gyscos/zstd-rs"
+exclude = ["/update_consts.sh"]
[package.metadata.docs.rs]
features = ["experimental", "arrays", "std"]
[dependencies.libc]
@@ -29,6 +30,7 @@
[dependencies.zstd-sys] [dependencies.zstd-sys]
version = "=1.6.1" version = "=1.6.2"
default-features = false default-features = false
+features = ["pkg-config", "bindgen"] +features = ["pkg-config", "bindgen"]
[features] [features]
bindgen = ["zstd-sys/bindgen"] arrays = []

Loading…
Cancel
Save