diff --git a/.gitignore b/.gitignore index d98fb7b..e3e283b 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,7 @@ /ryu-1.0.3.crate /ryu-1.0.4.crate /ryu-1.0.5.crate +/ryu-1.0.6.crate +/ryu-1.0.9.crate +/ryu-1.0.10.crate +/ryu-1.0.11.crate diff --git a/rust-ryu.spec b/rust-ryu.spec index c7e9c9e..d559acf 100644 --- a/rust-ryu.spec +++ b/rust-ryu.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate ryu -Name: rust-%{crate} -Version: 1.0.5 +Name: rust-ryu +Version: 1.0.11 Release: %autorelease Summary: Fast floating point to string conversion -# Upstream license specification: Apache-2.0 OR BSL-1.0 -License: ASL 2.0 or Boost +License: Apache-2.0 OR BSL-1.0 URL: https://crates.io/crates/ryu Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Fast floating point to string conversion.} @@ -33,12 +29,13 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +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,10 +44,10 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +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,10 +56,10 @@ BuildArch: noarch %description -n %{name}+no-panic-devel %{_description} This package contains library source intended for building other packages which -use "the no-panic" feature of the "%{crate}" crate. +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,10 +68,10 @@ BuildArch: noarch %description -n %{name}+small-devel %{_description} This package contains library source intended for building other packages which -use "the small" feature of the "%{crate}" crate. +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 7094a73..851e9ec 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ryu-1.0.5.crate) = d1708ffa3112a684edf2956b6730ead040401d38f1457cde074eaaa59c249007dc8b925629e7f6df89f7ea757e9d0826649d685cc8ede0a04d50296048bf476c +SHA512 (ryu-1.0.11.crate) = dd2642aab2d3017c31432436226d5350b894c8b88a09395eb7de6350964b3cc48451a829ce78b04a9e4e0480076fe1bddd0604f4e57700faa2d60cac6e361408