From acdcabf86a4c8feb3b4ece6f0308951b442a6db1 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 15 Dec 2021 21:32:44 +0100 Subject: [PATCH] Update to version 1.0.1; Fixes RHBZ#2031549 --- .gitignore | 1 + rust-itoa.spec | 45 +++++++++------------------------------------ sources | 2 +- 3 files changed, 11 insertions(+), 37 deletions(-) diff --git a/.gitignore b/.gitignore index d735547..1397a08 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /itoa-0.4.6.crate /itoa-0.4.7.crate /itoa-0.4.8.crate +/itoa-1.0.1.crate diff --git a/rust-itoa.spec b/rust-itoa.spec index 2f720d5..c89fc60 100644 --- a/rust-itoa.spec +++ b/rust-itoa.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate itoa Name: rust-%{crate} -Version: 0.4.8 +Version: 1.0.1 Release: %autorelease -Summary: Fast functions for printing integer primitives to an io::Write +Summary: Fast integer primitive to string conversion # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 @@ -15,14 +15,11 @@ URL: https://crates.io/crates/itoa Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging %global _description %{expand: -Fast functions for printing integer primitives to an io::Write.} +Fast integer primitive to string conversion.} %description %{_description} @@ -32,11 +29,11 @@ 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 +%license LICENSE-APACHE LICENSE-MIT %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ @@ -46,36 +43,12 @@ 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 -%package -n %{name}+i128-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+i128-devel %{_description} - -This package contains library source intended for building other packages -which use "i128" feature of "%{crate}" crate. - -%files -n %{name}+i128-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+std-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+std-devel %{_description} - -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. - -%files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index 2af9462..6129575 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (itoa-0.4.8.crate) = 6911d269ff3ed7350e4f0dcfc6e9e0d70e25833e1e7cfcc57d5b8aff1f47b8be4f2e9baf1b92e5517cff63492be489b6d29b48dd9bb642e428acaa431216b68e +SHA512 (itoa-1.0.1.crate) = 8e7bc1e9bf4fc06871b9fe20caad4e0af965477d724f4c8d0e2a3a4d87aedf99f92e4e583a6440ce574d0fb43fc9d6a2e80add52a2f64210c6aa3b402e424295