From cac0f64308985241af0495b5fc31ddd95e76d60f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 27 Jan 2022 12:36:06 +0100 Subject: [PATCH] Update to version 1.20.0; Fixes RHBZ#2039152 --- .gitignore | 1 + rust-rust_decimal.spec | 40 ++++++++++++++++++++++++++++++++-- rust_decimal-fix-metadata.diff | 4 ++-- sources | 2 +- 4 files changed, 42 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 78753c4..7cfd187 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /rust_decimal-1.17.0.crate /rust_decimal-1.18.0.crate /rust_decimal-1.19.0.crate +/rust_decimal-1.20.0.crate diff --git a/rust-rust_decimal.spec b/rust-rust_decimal.spec index c7e6696..54f735c 100644 --- a/rust-rust_decimal.spec +++ b/rust-rust_decimal.spec @@ -5,7 +5,7 @@ %global crate rust_decimal Name: rust-%{crate} -Version: 1.19.0 +Version: 1.20.0 Release: %autorelease Summary: Decimal Implementation written in pure Rust suitable for financial calculations @@ -233,6 +233,42 @@ use the "serde-str" feature of the "%{crate}" crate. %files -n %{name}+serde-str-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+serde-with-arbitrary-precision-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-with-arbitrary-precision-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde-with-arbitrary-precision" feature of the "%{crate}" crate. + +%files -n %{name}+serde-with-arbitrary-precision-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+serde-with-float-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-with-float-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde-with-float" feature of the "%{crate}" crate. + +%files -n %{name}+serde-with-float-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+serde-with-str-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-with-str-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde-with-str" feature of the "%{crate}" crate. + +%files -n %{name}+serde-with-str-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+serde_json-devel Summary: %{summary} BuildArch: noarch @@ -272,7 +308,7 @@ use the "std" feature of the "%{crate}" crate. %if %{with check} %check -# skip tests that depend on files not shipped with published crates +# * skip tests that depend on files which are not included in published crates %cargo_test -- -- --skip generated::test_ %endif diff --git a/rust_decimal-fix-metadata.diff b/rust_decimal-fix-metadata.diff index 94138f6..cb03a5e 100644 --- a/rust_decimal-fix-metadata.diff +++ b/rust_decimal-fix-metadata.diff @@ -1,5 +1,5 @@ ---- rust_decimal-1.19.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ rust_decimal-1.19.0/Cargo.toml 2022-01-07T22:02:05.487540+00:00 +--- rust_decimal-1.20.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ rust_decimal-1.20.0/Cargo.toml 2022-01-27T11:33:06.687307+00:00 @@ -88,10 +88,6 @@ [dev-dependencies.bytes] version = "1.0" diff --git a/sources b/sources index c871ca9..ed8cf2c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rust_decimal-1.19.0.crate) = 0c6fbd0f30fcb975650a67e55c3c8b46fab69bc9b7b2e9823d0274973671610ba9039acd462d28fad2f5030320f8964d2e4c08262cc90adee49c0991adf66823 +SHA512 (rust_decimal-1.20.0.crate) = 912841a28f36efc25431ece1b03949836617c80bc595ac33074a92342158f730921cfbf93c11cd4a45cd8380eeb2a04a34f045f111ae94cc9930e1233f9f0a19