From bea58c4a60428f68a4908d6428edefa9b66e40fe Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 27 Jan 2022 13:12:59 +0100 Subject: [PATCH] Update to version 1.2.0; Fixes RHBZ#2037445 --- .gitignore | 1 + rust-similar-asserts.spec | 23 ++++++++++------------- sources | 2 +- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index ab42628..ff9a623 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /similar-asserts-1.1.0.crate +/similar-asserts-1.2.0.crate diff --git a/rust-similar-asserts.spec b/rust-similar-asserts.spec index 4b145ad..55ad050 100644 --- a/rust-similar-asserts.spec +++ b/rust-similar-asserts.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate similar-asserts Name: rust-%{crate} -Version: 1.1.0 +Version: 1.2.0 Release: %autorelease Summary: Provides assert_eq! like macros with colorized diff output @@ -15,9 +15,6 @@ URL: https://crates.io/crates/similar-asserts Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,8 +29,8 @@ 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 @@ -46,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 @@ -58,8 +55,8 @@ 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_no_tilde}/Cargo.toml @@ -70,8 +67,8 @@ BuildArch: noarch %description -n %{name}+unicode-devel %{_description} -This package contains library source intended for building other packages -which use "unicode" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "unicode" feature of the "%{crate}" crate. %files -n %{name}+unicode-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 5df005a..f9b592e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (similar-asserts-1.1.0.crate) = d4ba59384a99201a8fbbd9f91e47e030e51a144adc9f7fbc782691d2d4364759a42d972bc6887b90ba568b1144d74955bf5d6e3e42bd672d50e27e800fe42f6e +SHA512 (similar-asserts-1.2.0.crate) = 2e0cb4ae548645da43efe14abcbaaed8c7e5a590922aee20acebb119e935396ff9098676f360185e1ffe65de0058d80a7e311f21aaf0caed9e0b690a4b672034