|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
# Generated by rust2rpm 18
|
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate rust_decimal
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.17.0
|
|
|
|
|
Version: 1.18.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Decimal Implementation written in pure Rust suitable for financial calculations
|
|
|
|
|
|
|
|
|
@ -14,13 +14,10 @@ License: MIT
|
|
|
|
|
URL: https://crates.io/crates/rust_decimal
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * drop criterion dev-dependency (only used in benchmarks) to speed up builds
|
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
|
|
|
|
|
Patch0: rust_decimal-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
@ -36,12 +33,12 @@ 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
|
|
|
|
|
%doc README.md VERSION.md
|
|
|
|
|
%doc BUILD.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md VERSION.md
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
@ -50,8 +47,8 @@ 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
|
|
|
|
@ -62,8 +59,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+arbitrary-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "arbitrary" feature of "%{crate}" crate.
|
|
|
|
|
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
|
|
|
|
@ -74,8 +71,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+byteorder-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "byteorder" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "byteorder" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+byteorder-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -86,8 +83,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+bytes-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "bytes" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "bytes" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+bytes-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -98,8 +95,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+c-repr-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "c-repr" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "c-repr" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+c-repr-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -110,8 +107,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+db-diesel-postgres-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "db-diesel-postgres" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "db-diesel-postgres" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+db-diesel-postgres-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -122,8 +119,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+diesel-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "diesel" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "diesel" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+diesel-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -134,8 +131,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+legacy-ops-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "legacy-ops" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "legacy-ops" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+legacy-ops-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -146,8 +143,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+maths-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "maths" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "maths" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+maths-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -158,8 +155,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+maths-nopanic-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "maths-nopanic" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "maths-nopanic" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+maths-nopanic-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -170,8 +167,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+rust-fuzz-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "rust-fuzz" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "rust-fuzz" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+rust-fuzz-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -182,8 +179,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
|
|
|
|
@ -194,8 +191,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+serde-arbitrary-precision-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "serde-arbitrary-precision" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "serde-arbitrary-precision" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+serde-arbitrary-precision-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -206,8 +203,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+serde-bincode-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "serde-bincode" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "serde-bincode" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+serde-bincode-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -218,8 +215,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+serde-float-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "serde-float" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "serde-float" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+serde-float-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -230,8 +227,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+serde-str-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "serde-str" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "serde-str" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+serde-str-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -242,8 +239,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+serde_json-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "serde_json" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "serde_json" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+serde_json-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -254,8 +251,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
|
|
|
|
|