From 4392bbe20c74998fbf861a71308025935260d81e Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 12 Apr 2022 12:26:00 +0200 Subject: [PATCH] Update to version 1.6.3+zstd.1.5.2 --- .gitignore | 1 + rust-zstd-sys.spec | 38 ++++++++++++++++++++------------------ sources | 2 +- zstd-sys-fix-metadata.diff | 8 ++++---- 4 files changed, 26 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index 6d50a3f..236f765 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /zstd-sys-1.5.0+zstd.1.4.9.crate /zstd-sys-1.6.1+zstd.1.5.0.crate /zstd-sys-1.6.2+zstd.1.5.1.crate +/zstd-sys-1.6.3+zstd.1.5.2.crate diff --git a/rust-zstd-sys.spec b/rust-zstd-sys.spec index 95d2038..fc9d47d 100644 --- a/rust-zstd-sys.spec +++ b/rust-zstd-sys.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate zstd-sys -%global upstream_version 1.6.2+zstd.1.5.1 +%global upstream_version 1.6.3+zstd.1.5.2 Name: rust-%{crate} -Version: 1.6.2 +Version: 1.6.3 Release: %autorelease Summary: Low-level bindings for the zstd compression library @@ -22,7 +22,7 @@ Patch0: zstd-sys-fix-metadata.diff ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Low-level bindings for the zstd compression library.} @@ -40,9 +40,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE.Apache-2.0 LICENSE.Mit -%doc Readme.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%license %{crate_instdir}/LICENSE.Apache-2.0 +%license %{crate_instdir}/LICENSE.Mit +%doc %{crate_instdir}/Readme.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -54,7 +56,7 @@ This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bindgen-devel Summary: %{summary} @@ -66,7 +68,7 @@ This package contains library source intended for building other packages which use the "bindgen" feature of the "%{crate}" crate. %files -n %{name}+bindgen-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+debug-devel Summary: %{summary} @@ -78,7 +80,7 @@ This package contains library source intended for building other packages which use the "debug" feature of the "%{crate}" crate. %files -n %{name}+debug-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+experimental-devel Summary: %{summary} @@ -90,7 +92,7 @@ This package contains library source intended for building other packages which use the "experimental" feature of the "%{crate}" crate. %files -n %{name}+experimental-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+legacy-devel Summary: %{summary} @@ -102,7 +104,7 @@ This package contains library source intended for building other packages which use the "legacy" feature of the "%{crate}" crate. %files -n %{name}+legacy-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+no_asm-devel Summary: %{summary} @@ -114,7 +116,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+non-cargo-devel Summary: %{summary} @@ -126,7 +128,7 @@ This package contains library source intended for building other packages which use the "non-cargo" feature of the "%{crate}" crate. %files -n %{name}+non-cargo-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pkg-config-devel Summary: %{summary} @@ -138,7 +140,7 @@ This package contains library source intended for building other packages which use the "pkg-config" feature of the "%{crate}" crate. %files -n %{name}+pkg-config-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -150,7 +152,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+thin-devel Summary: %{summary} @@ -162,7 +164,7 @@ This package contains library source intended for building other packages which use the "thin" feature of the "%{crate}" crate. %files -n %{name}+thin-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zstdmt-devel Summary: %{summary} @@ -174,7 +176,7 @@ This package contains library source intended for building other packages which use the "zstdmt" feature of the "%{crate}" crate. %files -n %{name}+zstdmt-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{upstream_version} -p1 diff --git a/sources b/sources index a59ecd1..c412e84 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zstd-sys-1.6.2+zstd.1.5.1.crate) = 25b28da7cd4465be2ff909cc30c879db4c0fe3e91c1faa8e2e7d9483f8439286123570f09bfa5aea1754a4473aa6f6851180b000df2094b6b56aec9b3b5d6d30 +SHA512 (zstd-sys-1.6.3+zstd.1.5.2.crate) = a8aaa3ddb7295cdb12623d1b6b06e30a029bce42a825adb427594e030ba0a1e51bf499f462d42bae47cd75178761d0e5071e86b0bcb8d8ff9cc8ebff1406b689 diff --git a/zstd-sys-fix-metadata.diff b/zstd-sys-fix-metadata.diff index ed3b509..8138049 100644 --- a/zstd-sys-fix-metadata.diff +++ b/zstd-sys-fix-metadata.diff @@ -1,11 +1,11 @@ ---- zstd-sys-1.6.2+zstd.1.5.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ zstd-sys-1.6.2+zstd.1.5.1/Cargo.toml 2022-01-07T18:49:26.176892+00:00 +--- zstd-sys-1.6.3+zstd.1.5.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ zstd-sys-1.6.3+zstd.1.5.2/Cargo.toml 2022-04-12T10:22:49.978386+00:00 @@ -12,11 +12,11 @@ [package] edition = "2018" name = "zstd-sys" --version = "1.6.2+zstd.1.5.1" -+version = "1.6.2" +-version = "1.6.3+zstd.1.5.2" ++version = "1.6.3" authors = ["Alexandre Bury "] build = "build.rs" links = "zstd"