|
|
@ -5,7 +5,7 @@
|
|
|
|
%global crate rust_decimal
|
|
|
|
%global crate rust_decimal
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-rust_decimal
|
|
|
|
Name: rust-rust_decimal
|
|
|
|
Version: 1.29.1
|
|
|
|
Version: 1.30.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Decimal number implementation written in pure Rust
|
|
|
|
Summary: Decimal number implementation written in pure Rust
|
|
|
|
|
|
|
|
|
|
|
@ -127,6 +127,18 @@ use the "maths-nopanic" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+maths-nopanic-devel
|
|
|
|
%files -n %{name}+maths-nopanic-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/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 the "proptest" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+proptest-devel
|
|
|
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+rand-devel
|
|
|
|
%package -n %{name}+rand-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -298,7 +310,7 @@ use the "std" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# * doctests fail to compile due to undeclared rust_decimal_macros dependency
|
|
|
|
# * doctests can only be compiled and run in-tree
|
|
|
|
# * integration tests require files which are not included in published crates
|
|
|
|
# * integration tests require files which are not included in published crates
|
|
|
|
%cargo_test -- --lib
|
|
|
|
%cargo_test -- --lib
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|