From e520c9921df8bdb525ab9c5b017297595e887b3a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 23 May 2022 18:40:36 +0200 Subject: [PATCH] Update to version 1.0.2; Fixes RHBZ#2086351 --- .gitignore | 1 + rust-itoa.spec | 15 ++++++++------- sources | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 1397a08..169591b 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /itoa-0.4.7.crate /itoa-0.4.8.crate /itoa-1.0.1.crate +/itoa-1.0.2.crate diff --git a/rust-itoa.spec b/rust-itoa.spec index c89fc60..f3dd5c6 100644 --- a/rust-itoa.spec +++ b/rust-itoa.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate itoa Name: rust-%{crate} -Version: 1.0.1 +Version: 1.0.2 Release: %autorelease Summary: Fast integer primitive to string conversion @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Fast integer primitive to string conversion.} @@ -33,9 +33,10 @@ 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 -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +48,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 6129575..2ebfcf3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (itoa-1.0.1.crate) = 8e7bc1e9bf4fc06871b9fe20caad4e0af965477d724f4c8d0e2a3a4d87aedf99f92e4e583a6440ce574d0fb43fc9d6a2e80add52a2f64210c6aa3b402e424295 +SHA512 (itoa-1.0.2.crate) = 44a732a102d60b58e72fe76c43a1d185fa12ff08d04eeacf03234368552f84d3de87a2ea0a6e7a56b8cfa74cb6f6697005afcee26f45afe0c2fc7dce5da3b593