|
|
@ -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
|
|
|
|