From 0161249016a0cf23c34480243ba13bdada320a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= Date: Sun, 14 Nov 2021 02:13:02 +0100 Subject: [PATCH] Update to 0.9.0 Close: rhbz#1960712 --- .gitignore | 1 + rust-zstd.spec | 42 +++--------------------------------------- sources | 2 +- zstd-fix-metadata.diff | 10 +++++----- 4 files changed, 10 insertions(+), 45 deletions(-) diff --git a/.gitignore b/.gitignore index 65b9364..d28dc0b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /zstd-0.5.3+zstd.1.4.5.crate /zstd-0.6.1+zstd.1.4.9.crate /zstd-0.8.0+zstd.1.4.9.crate +/zstd-0.9.0+zstd.1.5.0.crate diff --git a/rust-zstd.spec b/rust-zstd.spec index b201647..44429be 100644 --- a/rust-zstd.spec +++ b/rust-zstd.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 18 # Tests require files not included in crate %bcond_with check %global debug_package %{nil} %global crate zstd -%global upstream_version 0.8.0+zstd.1.4.9 +%global upstream_version 0.9.0+zstd.1.5.0 Name: rust-%{crate} -Version: 0.8.0 +Version: 0.9.0 Release: %autorelease Summary: Binding for the zstd compression library @@ -94,18 +94,6 @@ which use "experimental" feature of "%{crate}" crate. %files -n %{name}+experimental-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+futures-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+futures-devel %{_description} - -This package contains library source intended for building other packages -which use "futures" feature of "%{crate}" crate. - -%files -n %{name}+futures-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+legacy-devel Summary: %{summary} BuildArch: noarch @@ -142,30 +130,6 @@ which use "thin" feature of "%{crate}" crate. %files -n %{name}+thin-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+tokio-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+tokio-devel %{_description} - -This package contains library source intended for building other packages -which use "tokio" feature of "%{crate}" crate. - -%files -n %{name}+tokio-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+tokio-io-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+tokio-io-devel %{_description} - -This package contains library source intended for building other packages -which use "tokio-io" feature of "%{crate}" crate. - -%files -n %{name}+tokio-io-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+wasm-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index d1c5794..4910790 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zstd-0.8.0+zstd.1.4.9.crate) = 71172e0ce8b4ca29c9f2cf0646c11acd2620b880d7982d380bfd78962d92742282b6677fadccbdc8daa36bbdd91112fa19879d9762d229cd0fa07b6902157740 +SHA512 (zstd-0.9.0+zstd.1.5.0.crate) = 64e80dbbd1ba00de21b9dd5300ec61ae642d0280cec8039a0d465547aa863744218c2d314073d6480051af37d2a24cb0553286154f4363257d991d65a1c73742 diff --git a/zstd-fix-metadata.diff b/zstd-fix-metadata.diff index 0c5464f..9955741 100644 --- a/zstd-fix-metadata.diff +++ b/zstd-fix-metadata.diff @@ -1,15 +1,15 @@ ---- zstd-0.8.0+zstd.1.4.9/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ zstd-0.8.0+zstd.1.4.9/Cargo.toml 2021-05-10T14:32:17.508937+00:00 +--- zstd-0.9.0+zstd.1.5.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ zstd-0.9.0+zstd.1.5.0/Cargo.toml 2021-11-14T00:23:18.525234+00:00 @@ -13,7 +13,7 @@ [package] edition = "2018" name = "zstd" --version = "0.8.0+zstd.1.4.9" -+version = "0.8.0" +-version = "0.9.0+zstd.1.5.0" ++version = "0.9.0" authors = ["Alexandre Bury "] exclude = ["assets/*.zst"] description = "Binding for the zstd compression library." -@@ -56,7 +56,7 @@ +@@ -44,7 +44,7 @@ [features] bindgen = ["zstd-safe/bindgen"] debug = ["zstd-safe/debug"]