From dc0288c1151276076e4fec67f39607864e44a556 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 7 Jan 2022 21:57:42 +0100 Subject: [PATCH] Update to version 2.10.0; Fixes RHBZ#2036762 --- .gitignore | 1 + rust-ordered-float.spec | 51 ++++++++++++++++++++++++----------------- sources | 2 +- 3 files changed, 32 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index 655171e..95361c7 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /ordered-float-2.6.0.crate /ordered-float-2.7.0.crate /ordered-float-2.8.0.crate +/ordered-float-2.10.0.crate diff --git a/rust-ordered-float.spec b/rust-ordered-float.spec index 1ecccc8..e10143e 100644 --- a/rust-ordered-float.spec +++ b/rust-ordered-float.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate ordered-float Name: rust-%{crate} -Version: 2.8.0 +Version: 2.10.0 Release: %autorelease Summary: Wrappers for total ordering on floats @@ -15,9 +15,6 @@ URL: https://crates.io/crates/ordered-float Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,8 +29,8 @@ 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 @@ -46,20 +43,32 @@ 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}+arbitrary-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+arbitrary-devel %{_description} + +This package contains library source intended for building other packages which +use the "arbitrary" feature of the "%{crate}" crate. + +%files -n %{name}+arbitrary-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+proptest-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+proptest-devel %{_description} -This package contains library source intended for building other packages -which use "proptest" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "proptest" feature of the "%{crate}" crate. %files -n %{name}+proptest-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -70,8 +79,8 @@ BuildArch: noarch %description -n %{name}+rand-devel %{_description} -This package contains library source intended for building other packages -which use "rand" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "rand" feature of the "%{crate}" crate. %files -n %{name}+rand-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -82,8 +91,8 @@ BuildArch: noarch %description -n %{name}+randtest-devel %{_description} -This package contains library source intended for building other packages -which use "randtest" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "randtest" feature of the "%{crate}" crate. %files -n %{name}+randtest-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -94,8 +103,8 @@ BuildArch: noarch %description -n %{name}+rkyv-devel %{_description} -This package contains library source intended for building other packages -which use "rkyv" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "rkyv" feature of the "%{crate}" crate. %files -n %{name}+rkyv-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -106,8 +115,8 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} -This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -118,8 +127,8 @@ 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. +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 19f09d4..2ad656f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ordered-float-2.8.0.crate) = f10254cd7ab71c75fb46e238fe1da0d618b9430bc96ac480402fa7d0f98b5909f4d9387d4c146e736d7a27fd7325dda307ae50b3a3f23571d0f561576c217ac5 +SHA512 (ordered-float-2.10.0.crate) = cb883ddd723d1bedfe13d16c9546dcb84d17d4fb1c6dc6d632a0c385d80b0b881694b3364a406e5d7f073c5a7e9e80810f343dd1d6f22df6188322b3e89cf77f