|
|
|
@ -69,23 +69,15 @@ use the "debug" feature of the "%{crate}" crate.
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%ifnarch s390x
|
|
|
|
|
# * temporary workaround for rustc 1.59 issues on s390x
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2058803
|
|
|
|
|
%cargo_build
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%cargo_install
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
%check
|
|
|
|
|
%ifnarch s390x
|
|
|
|
|
# * temporary workaround for rustc 1.59 issues on s390x
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2058803
|
|
|
|
|
%cargo_test
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
%autochangelog
|
|
|
|
|