|
|
@ -142,11 +142,9 @@ use the "zeroize" feature of the "%{crate}" crate.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
%ifarch %{ix86} %{arm}
|
|
|
|
|
|
|
|
# * drop torture tests, they don't compile on 32-bit architectures:
|
|
|
|
# * drop torture tests, they don't compile on 32-bit architectures:
|
|
|
|
# https://github.com/dignifiedquire/num-bigint/issues/43
|
|
|
|
# https://github.com/dignifiedquire/num-bigint/issues/43
|
|
|
|
rm tests/torture.rs
|
|
|
|
rm tests/torture.rs
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|