Update to version 1.22.0; Fixes RHBZ#2056215

epel9
Fabio Valentini 3 years ago
parent aa5a7ec2dc
commit 338916bc0b
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -20,3 +20,4 @@
/rust_decimal-1.19.0.crate /rust_decimal-1.19.0.crate
/rust_decimal-1.20.0.crate /rust_decimal-1.20.0.crate
/rust_decimal-1.21.0.crate /rust_decimal-1.21.0.crate
/rust_decimal-1.22.0.crate

@ -1,5 +1,6 @@
[DEFAULT] [DEFAULT]
unwanted-features = unwanted-features =
borsh
db-diesel-mysql db-diesel-mysql
db-postgres db-postgres
db-tokio-postgres db-tokio-postgres

@ -1,11 +1,11 @@
# Generated by rust2rpm 20 # Generated by rust2rpm 21
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate rust_decimal %global crate rust_decimal
Name: rust-%{crate} Name: rust-%{crate}
Version: 1.21.0 Version: 1.22.0
Release: %autorelease Release: %autorelease
Summary: Decimal Implementation written in pure Rust suitable for financial calculations Summary: Decimal Implementation written in pure Rust suitable for financial calculations
@ -19,7 +19,7 @@ Patch0: rust_decimal-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Decimal Implementation written in pure Rust suitable for financial Decimal Implementation written in pure Rust suitable for financial
@ -37,9 +37,13 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license %{crate_instdir}/LICENSE
%doc BUILD.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md VERSION.md %doc %{crate_instdir}/BUILD.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/CODE_OF_CONDUCT.md
%doc %{crate_instdir}/CONTRIBUTING.md
%doc %{crate_instdir}/README.md
%doc %{crate_instdir}/VERSION.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -51,7 +55,7 @@ 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 %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+arbitrary-devel %package -n %{name}+arbitrary-devel
Summary: %{summary} Summary: %{summary}
@ -63,7 +67,7 @@ This package contains library source intended for building other packages which
use the "arbitrary" feature of the "%{crate}" crate. use the "arbitrary" feature of the "%{crate}" crate.
%files -n %{name}+arbitrary-devel %files -n %{name}+arbitrary-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+byteorder-devel %package -n %{name}+byteorder-devel
Summary: %{summary} Summary: %{summary}
@ -75,7 +79,7 @@ This package contains library source intended for building other packages which
use the "byteorder" feature of the "%{crate}" crate. use the "byteorder" feature of the "%{crate}" crate.
%files -n %{name}+byteorder-devel %files -n %{name}+byteorder-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bytes-devel %package -n %{name}+bytes-devel
Summary: %{summary} Summary: %{summary}
@ -87,7 +91,7 @@ This package contains library source intended for building other packages which
use the "bytes" feature of the "%{crate}" crate. use the "bytes" feature of the "%{crate}" crate.
%files -n %{name}+bytes-devel %files -n %{name}+bytes-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+c-repr-devel %package -n %{name}+c-repr-devel
Summary: %{summary} Summary: %{summary}
@ -99,7 +103,7 @@ This package contains library source intended for building other packages which
use the "c-repr" feature of the "%{crate}" crate. use the "c-repr" feature of the "%{crate}" crate.
%files -n %{name}+c-repr-devel %files -n %{name}+c-repr-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+db-diesel-postgres-devel %package -n %{name}+db-diesel-postgres-devel
Summary: %{summary} Summary: %{summary}
@ -111,7 +115,7 @@ This package contains library source intended for building other packages which
use the "db-diesel-postgres" feature of the "%{crate}" crate. use the "db-diesel-postgres" feature of the "%{crate}" crate.
%files -n %{name}+db-diesel-postgres-devel %files -n %{name}+db-diesel-postgres-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+diesel-devel %package -n %{name}+diesel-devel
Summary: %{summary} Summary: %{summary}
@ -123,7 +127,7 @@ This package contains library source intended for building other packages which
use the "diesel" feature of the "%{crate}" crate. use the "diesel" feature of the "%{crate}" crate.
%files -n %{name}+diesel-devel %files -n %{name}+diesel-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+legacy-ops-devel %package -n %{name}+legacy-ops-devel
Summary: %{summary} Summary: %{summary}
@ -135,7 +139,7 @@ This package contains library source intended for building other packages which
use the "legacy-ops" feature of the "%{crate}" crate. use the "legacy-ops" feature of the "%{crate}" crate.
%files -n %{name}+legacy-ops-devel %files -n %{name}+legacy-ops-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+maths-devel %package -n %{name}+maths-devel
Summary: %{summary} Summary: %{summary}
@ -147,7 +151,7 @@ This package contains library source intended for building other packages which
use the "maths" feature of the "%{crate}" crate. use the "maths" feature of the "%{crate}" crate.
%files -n %{name}+maths-devel %files -n %{name}+maths-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+maths-nopanic-devel %package -n %{name}+maths-nopanic-devel
Summary: %{summary} Summary: %{summary}
@ -159,7 +163,7 @@ This package contains library source intended for building other packages which
use the "maths-nopanic" feature of the "%{crate}" crate. use the "maths-nopanic" feature of the "%{crate}" crate.
%files -n %{name}+maths-nopanic-devel %files -n %{name}+maths-nopanic-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rust-fuzz-devel %package -n %{name}+rust-fuzz-devel
Summary: %{summary} Summary: %{summary}
@ -171,7 +175,7 @@ This package contains library source intended for building other packages which
use the "rust-fuzz" feature of the "%{crate}" crate. use the "rust-fuzz" feature of the "%{crate}" crate.
%files -n %{name}+rust-fuzz-devel %files -n %{name}+rust-fuzz-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
@ -183,7 +187,7 @@ This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate. use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel %files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-arbitrary-precision-devel %package -n %{name}+serde-arbitrary-precision-devel
Summary: %{summary} Summary: %{summary}
@ -195,7 +199,7 @@ This package contains library source intended for building other packages which
use the "serde-arbitrary-precision" feature of the "%{crate}" crate. use the "serde-arbitrary-precision" feature of the "%{crate}" crate.
%files -n %{name}+serde-arbitrary-precision-devel %files -n %{name}+serde-arbitrary-precision-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-bincode-devel %package -n %{name}+serde-bincode-devel
Summary: %{summary} Summary: %{summary}
@ -207,7 +211,7 @@ This package contains library source intended for building other packages which
use the "serde-bincode" feature of the "%{crate}" crate. use the "serde-bincode" feature of the "%{crate}" crate.
%files -n %{name}+serde-bincode-devel %files -n %{name}+serde-bincode-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-float-devel %package -n %{name}+serde-float-devel
Summary: %{summary} Summary: %{summary}
@ -219,7 +223,7 @@ This package contains library source intended for building other packages which
use the "serde-float" feature of the "%{crate}" crate. use the "serde-float" feature of the "%{crate}" crate.
%files -n %{name}+serde-float-devel %files -n %{name}+serde-float-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-str-devel %package -n %{name}+serde-str-devel
Summary: %{summary} Summary: %{summary}
@ -231,7 +235,7 @@ This package contains library source intended for building other packages which
use the "serde-str" feature of the "%{crate}" crate. use the "serde-str" feature of the "%{crate}" crate.
%files -n %{name}+serde-str-devel %files -n %{name}+serde-str-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-with-arbitrary-precision-devel %package -n %{name}+serde-with-arbitrary-precision-devel
Summary: %{summary} Summary: %{summary}
@ -243,7 +247,7 @@ This package contains library source intended for building other packages which
use the "serde-with-arbitrary-precision" feature of the "%{crate}" crate. use the "serde-with-arbitrary-precision" feature of the "%{crate}" crate.
%files -n %{name}+serde-with-arbitrary-precision-devel %files -n %{name}+serde-with-arbitrary-precision-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-with-float-devel %package -n %{name}+serde-with-float-devel
Summary: %{summary} Summary: %{summary}
@ -255,7 +259,7 @@ This package contains library source intended for building other packages which
use the "serde-with-float" feature of the "%{crate}" crate. use the "serde-with-float" feature of the "%{crate}" crate.
%files -n %{name}+serde-with-float-devel %files -n %{name}+serde-with-float-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-with-str-devel %package -n %{name}+serde-with-str-devel
Summary: %{summary} Summary: %{summary}
@ -267,7 +271,7 @@ This package contains library source intended for building other packages which
use the "serde-with-str" feature of the "%{crate}" crate. use the "serde-with-str" feature of the "%{crate}" crate.
%files -n %{name}+serde-with-str-devel %files -n %{name}+serde-with-str-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde_json-devel %package -n %{name}+serde_json-devel
Summary: %{summary} Summary: %{summary}
@ -279,7 +283,7 @@ This package contains library source intended for building other packages which
use the "serde_json" feature of the "%{crate}" crate. use the "serde_json" feature of the "%{crate}" crate.
%files -n %{name}+serde_json-devel %files -n %{name}+serde_json-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -291,7 +295,7 @@ This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1,6 +1,6 @@
--- rust_decimal-1.21.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- rust_decimal-1.22.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ rust_decimal-1.21.0/Cargo.toml 2022-01-31T22:21:39.416128+00:00 +++ rust_decimal-1.22.0/Cargo.toml 2022-03-05T20:53:06.625865+00:00
@@ -89,10 +89,6 @@ @@ -94,10 +94,6 @@
[dev-dependencies.bytes] [dev-dependencies.bytes]
version = "1.0" version = "1.0"

@ -1 +1 @@
SHA512 (rust_decimal-1.21.0.crate) = 4321d01e5e4f5bc32090d77ae152a8d07bde3adc9a23a9625c97a3c03c1b1556f70438ff59cb9fbe99595e7cfb09a7ca402c392b8cca340378546818ee5b0dab SHA512 (rust_decimal-1.22.0.crate) = fe9aeac70b5092ddd3b1de4ab10ce5662103a3f423ac977528a4b6a94982ab982b6fa648eb759b8ab6e96a6f642d8abac7d2ec432cbe197e7409c91e0386d6b8

Loading…
Cancel
Save