From acdcabf86a4c8feb3b4ece6f0308951b442a6db1 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 15 Dec 2021 21:32:44 +0100 Subject: [PATCH 1/5] 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 From e520c9921df8bdb525ab9c5b017297595e887b3a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 23 May 2022 18:40:36 +0200 Subject: [PATCH 3/5] 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 From 1b4f5c3977a47e12d38bdfd51e4d42bb070aff47 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 3 Aug 2022 21:49:14 +0200 Subject: [PATCH 5/5] Update to version 1.0.3; Fixes RHBZ#2114932 --- .gitignore | 1 + rust-itoa.spec | 9 ++++----- sources | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 169591b..1eee83c 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /itoa-0.4.8.crate /itoa-1.0.1.crate /itoa-1.0.2.crate +/itoa-1.0.3.crate diff --git a/rust-itoa.spec b/rust-itoa.spec index f3dd5c6..89ebf63 100644 --- a/rust-itoa.spec +++ b/rust-itoa.spec @@ -1,16 +1,15 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate itoa -Name: rust-%{crate} -Version: 1.0.2 +Name: rust-itoa +Version: 1.0.3 Release: %autorelease Summary: Fast integer primitive to string conversion -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/itoa Source: %{crates_source} diff --git a/sources b/sources index 2ebfcf3..9c09e43 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (itoa-1.0.2.crate) = 44a732a102d60b58e72fe76c43a1d185fa12ff08d04eeacf03234368552f84d3de87a2ea0a6e7a56b8cfa74cb6f6697005afcee26f45afe0c2fc7dce5da3b593 +SHA512 (itoa-1.0.3.crate) = 1290c027ec8a13d2d15ace2b58a1d1a3a18730cd5fb55bc995826b8f4d04ede650b8315a8905f6737c4c4988690ae03bf32c86ab3a31ae068a67d5be04cd618b