From dd7af8e89d98e4485e401447669a87ab89b78d6e Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 6 Dec 2021 18:42:41 +0100 Subject: [PATCH] Update to version 0.3.0; Fixes RHBZ#1909281 --- .gitignore | 1 + rust-rand_isaac.spec | 49 ++++++++++++++++++++++++++------------------ sources | 2 +- 3 files changed, 31 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 23bfc9b..26944c4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /rand_isaac-0.1.1.crate /rand_isaac-0.2.0.crate +/rand_isaac-0.3.0.crate diff --git a/rust-rand_isaac.spec b/rust-rand_isaac.spec index becb2ec..90d8f07 100644 --- a/rust-rand_isaac.spec +++ b/rust-rand_isaac.spec @@ -1,23 +1,20 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate rand_isaac Name: rust-%{crate} -Version: 0.2.0 +Version: 0.3.0 Release: %autorelease Summary: ISAAC random number generator -# Upstream license specification: MIT/Apache-2.0 +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/rand_isaac Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,13 +29,13 @@ 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-MIT LICENSE-APACHE COPYRIGHT -%doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version}/ +%license COPYRIGHT LICENSE-APACHE LICENSE-MIT +%doc CHANGELOG.md README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +43,11 @@ 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}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -58,11 +55,11 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} -This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+serde1-devel Summary: %{summary} @@ -70,11 +67,23 @@ BuildArch: noarch %description -n %{name}+serde1-devel %{_description} -This package contains library source intended for building other packages -which use "serde1" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde1" feature of the "%{crate}" crate. %files -n %{name}+serde1-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+serde_derive-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde_derive-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde_derive" feature of the "%{crate}" crate. + +%files -n %{name}+serde_derive-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index e39412f..b20edd7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rand_isaac-0.2.0.crate) = 333427c31afe06516bcca34a53368b5ad215fa1ae27ab4660072aa773309f8a2532603dffcfe60d6e63c61731d81bc3c48a93422586a210c692d8037f93cad18 +SHA512 (rand_isaac-0.3.0.crate) = 697485cbfc01ece39233be755bf36b9005b9fc8a57af3059e0a93353312658bec1c2fab5707b7d572ca6a8a61a5d55823bcf408386ccf340ca09433c38781b0b