diff --git a/.gitignore b/.gitignore index f9e619f..6ba9468 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /zstd-safe-2.0.3+zstd.1.4.4.crate /zstd-safe-2.0.4+zstd.1.4.5.crate /zstd-safe-2.0.5+zstd.1.4.5.crate +/zstd-safe-3.0.1+zstd.1.4.9.crate diff --git a/rust-zstd-safe.spec b/rust-zstd-safe.spec index c155842..8734953 100644 --- a/rust-zstd-safe.spec +++ b/rust-zstd-safe.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 16 %bcond_without check %global debug_package %{nil} %global crate zstd-safe -%global upstream_version 2.0.5+zstd.1.4.5 +%global upstream_version 3.0.1+zstd.1.4.9 Name: rust-%{crate} -Version: 2.0.5 -Release: 3%{?dist} +Version: 3.0.1 +Release: 1%{?dist} Summary: Safe low-level bindings for the zstd compression library # Upstream license specification: MIT/Apache-2.0 @@ -58,6 +58,18 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+debug-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+debug-devel %{_description} + +This package contains library source intended for building other packages +which use "debug" feature of "%{crate}" crate. + +%files -n %{name}+debug-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+experimental-devel Summary: %{summary} BuildArch: noarch @@ -82,6 +94,18 @@ which use "legacy" feature of "%{crate}" crate. %files -n %{name}+legacy-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+pkg-config-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+pkg-config-devel %{_description} + +This package contains library source intended for building other packages +which use "pkg-config" feature of "%{crate}" crate. + +%files -n %{name}+pkg-config-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch @@ -125,6 +149,9 @@ which use "zstdmt" feature of "%{crate}" crate. %endif %changelog +* Sat Mar 06 2021 Fabio Valentini - 3.0.1-1 +- Update to version 3.0.1+zstd.1.4.9. + * Wed Jan 27 2021 Fedora Release Engineering - 2.0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index 7deb15a..86c945a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zstd-safe-2.0.5+zstd.1.4.5.crate) = cb4b33059da628e103a0fc9a83217fe96f5201cc9db0572b3c2d102b181dc29c346aea12ddec902ecf36886fcb6a2177155791d00ee2fbb267ddf84a48d3c2c6 +SHA512 (zstd-safe-3.0.1+zstd.1.4.9.crate) = 9ca714ae45adb4421a29ccf8dbc0752d3c2b69e72b15cf6533064a5b1f016250b745fa469b9e7c5d0b24c50a0c46f1d6dd2683917b33cd80ebe80223eead0227 diff --git a/zstd-safe-fix-metadata.diff b/zstd-safe-fix-metadata.diff index 96dd11e..8949243 100644 --- a/zstd-safe-fix-metadata.diff +++ b/zstd-safe-fix-metadata.diff @@ -1,22 +1,22 @@ ---- zstd-safe-2.0.5+zstd.1.4.5/Cargo.toml 2020-06-14T06:27:22+00:00 -+++ zstd-safe-2.0.5+zstd.1.4.5/Cargo.toml 2020-06-19T22:32:09.835230+00:00 +--- zstd-safe-3.0.1+zstd.1.4.9/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ zstd-safe-3.0.1+zstd.1.4.9/Cargo.toml 2021-03-06T23:17:57.614492+00:00 @@ -12,7 +12,7 @@ [package] name = "zstd-safe" --version = "2.0.5+zstd.1.4.5" -+version = "2.0.5" +-version = "3.0.1+zstd.1.4.9" ++version = "3.0.1" authors = ["Alexandre Bury "] + build = "build.rs" description = "Safe low-level bindings for the zstd compression library." - readme = "Readme.md" -@@ -28,9 +28,9 @@ +@@ -29,9 +29,9 @@ [dependencies.zstd-sys] - version = "=1.4.17" + version = "=1.4.20" default-features = false +features = ["pkg-config", "bindgen"] [features] -bindgen = ["zstd-sys/bindgen"] + debug = ["zstd-sys/debug"] default = ["legacy"] experimental = ["zstd-sys/experimental"] - legacy = ["zstd-sys/legacy"]