From b8af87854c81f52352a4cfacd3076f9b2acf9d28 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 9 Dec 2021 15:10:19 +0100 Subject: [PATCH] Update to version 0.3.1; Fixes RHBZ#2030021 --- .gitignore | 1 + blobby-fix-metadata.diff | 8 -------- rust-blobby.spec | 18 +++++++----------- sources | 2 +- 4 files changed, 9 insertions(+), 20 deletions(-) delete mode 100644 blobby-fix-metadata.diff diff --git a/.gitignore b/.gitignore index a544beb..da280b9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /blobby-0.1.1.crate /blobby-0.1.2.crate /blobby-0.3.0.crate +/blobby-0.3.1.crate diff --git a/blobby-fix-metadata.diff b/blobby-fix-metadata.diff deleted file mode 100644 index b1fa128..0000000 --- a/blobby-fix-metadata.diff +++ /dev/null @@ -1,8 +0,0 @@ ---- blobby-0.3.0/Cargo.toml 2020-07-01T20:19:30+00:00 -+++ blobby-0.3.0/Cargo.toml 2020-10-19T13:09:54.315817+00:00 -@@ -21,4 +21,4 @@ - license = "MIT OR Apache-2.0" - repository = "https://github.com/RustCrypto/utils" - [dev-dependencies.hex] --version = "0.3" -+version = "0.4" diff --git a/rust-blobby.spec b/rust-blobby.spec index 1355368..32253e5 100644 --- a/rust-blobby.spec +++ b/rust-blobby.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate blobby Name: rust-%{crate} -Version: 0.3.0 +Version: 0.3.1 Release: %autorelease Summary: Iterator over simple binary blob storage @@ -13,13 +13,8 @@ Summary: Iterator over simple binary blob storage License: MIT or ASL 2.0 URL: https://crates.io/crates/blobby Source: %{crates_source} -# Initial patched metadata -Patch0: blobby-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -34,11 +29,12 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel %license LICENSE-APACHE LICENSE-MIT +%doc CHANGELOG.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -47,8 +43,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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 diff --git a/sources b/sources index 17d8ae0..42af5e0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (blobby-0.3.0.crate) = aaf988672a4972df8e3c73762abe685af38585a9866b4798c544626665a3453d6ac471b093bf69ba0554576789e5c0a53c1341816bf0b56a44176e36ea5af105 +SHA512 (blobby-0.3.1.crate) = e6fd76f9337e84067ad499734d17c3c191987fdb70181e265acea509589a7a9060f112e8f3fe583315b66d98cd0b2c019eb672b3fce227f90d75d26bfe8585f0