From 1d7396c76dc7cb6695fb618b056b85f4ba786b0b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 23 May 2022 18:39:11 +0200 Subject: [PATCH] Update to version 1.0.10; Fixes RHBZ#2086360 --- .gitignore | 1 + rust-ryu.spec | 19 ++++++++++--------- sources | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 75927d1..5d5d9eb 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /ryu-1.0.5.crate /ryu-1.0.6.crate /ryu-1.0.9.crate +/ryu-1.0.10.crate diff --git a/rust-ryu.spec b/rust-ryu.spec index ce851a1..5743555 100644 --- a/rust-ryu.spec +++ b/rust-ryu.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate ryu Name: rust-%{crate} -Version: 1.0.9 +Version: 1.0.10 Release: %autorelease Summary: Fast floating point to string conversion @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Fast floating point 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-BOOST -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-BOOST +%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 %package -n %{name}+no-panic-devel Summary: %{summary} @@ -59,7 +60,7 @@ This package contains library source intended for building other packages which use the "no-panic" feature of the "%{crate}" crate. %files -n %{name}+no-panic-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+small-devel Summary: %{summary} @@ -71,7 +72,7 @@ This package contains library source intended for building other packages which use the "small" feature of the "%{crate}" crate. %files -n %{name}+small-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 e3d784d..2e91980 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ryu-1.0.9.crate) = 4e7c2c7ec73da1ddb32e18d36b8159cb4047b9f4feeb975361e7ba68135e671e11419bb7786df789f5d08e5895231d2c98e36035b515f2c64ac40474d08905cb +SHA512 (ryu-1.0.10.crate) = 1bd0af71a20715251dd42596df6e7677e44f712bbb40b0d9544109c1b2478a7bd2c9393535f0d4f3bfe2d1b75b3a2b899044051715a7da7d165d6d586e0775f2