From 26bd9b27ccc5b2a46110abc116287ef0057d5dee Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Aug 02 2022 15:00:29 +0000 Subject: Update to version 1.3.0; Fixes RHBZ#2112846 --- diff --git a/.gitignore b/.gitignore index ff9a623..924402d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /similar-asserts-1.1.0.crate /similar-asserts-1.2.0.crate +/similar-asserts-1.3.0.crate diff --git a/rust-similar-asserts.spec b/rust-similar-asserts.spec index 55ad050..79101e6 100644 --- a/rust-similar-asserts.spec +++ b/rust-similar-asserts.spec @@ -1,22 +1,21 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate similar-asserts -Name: rust-%{crate} -Version: 1.2.0 +Name: rust-similar-asserts +Version: 1.3.0 Release: %autorelease Summary: Provides assert_eq! like macros with colorized diff output -# Upstream license specification: Apache-2.0 -License: ASL 2.0 +License: Apache-2.0 URL: https://crates.io/crates/similar-asserts Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Provides assert_eq! like macros with colorized diff output.} @@ -33,9 +32,9 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +46,7 @@ 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}+serde-devel Summary: %{summary} @@ -59,7 +58,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-devel Summary: %{summary} @@ -71,7 +70,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index f9b592e..27430a2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (similar-asserts-1.2.0.crate) = 2e0cb4ae548645da43efe14abcbaaed8c7e5a590922aee20acebb119e935396ff9098676f360185e1ffe65de0058d80a7e311f21aaf0caed9e0b690a4b672034 +SHA512 (similar-asserts-1.3.0.crate) = 741704bba96a06d2cceabc0fbc1632a0797a645b1b27b962a430af18d2a4dcf1fd865ca0babdb2c0f97034f1969e8a8c4d7700d4d4ea871a58be1559f66eb7f1