From c6abbcc41dc5a4b88ed740c6dc7c73b3e0efdc43 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 26 Jul 2022 11:52:36 +0200 Subject: [PATCH] Update to version 1.2.1; Fixes RHBZ#2110618 --- .gitignore | 1 + rust-az.spec | 34 ++++++++++++++++++---------------- sources | 2 +- 3 files changed, 20 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 93bd6ba..191e53a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /az-1.1.1.crate /az-1.1.2.crate /az-1.2.0.crate +/az-1.2.1.crate diff --git a/rust-az.spec b/rust-az.spec index 8eb1bcf..b0ec821 100644 --- a/rust-az.spec +++ b/rust-az.spec @@ -1,22 +1,22 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate az -Name: rust-%{crate} -Version: 1.2.0 +Name: rust-az +Version: 1.2.1 Release: %autorelease Summary: Casts and checked casts # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/az Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Casts and checked casts.} @@ -29,13 +29,15 @@ 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 README.md RELEASES.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%doc %{crate_instdir}/RELEASES.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -43,11 +45,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_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fail-on-warnings-devel Summary: %{summary} @@ -55,11 +57,11 @@ BuildArch: noarch %description -n %{name}+fail-on-warnings-devel %{_description} -This package contains library source intended for building other packages -which use "fail-on-warnings" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "fail-on-warnings" feature of the "%{crate}" crate. %files -n %{name}+fail-on-warnings-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 059e3ef..24cfb91 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (az-1.2.0.crate) = 0807257f98ed09c59a82da2dc7ba713c63a8420c8d945107a7c4bdc1dc92964776286d9e1e9e1e034691f4d0118ee03eed93540998ac8c7ee9b623d5f39d1248 +SHA512 (az-1.2.1.crate) = fc81f22f8efc2faa76e25644f7c0102a8bf623dcd5538ecd81e03344481b62f036f80d3ac734653d4386265b640bcb357572db03a1716dfd6b9b12348e9f8cf7