diff --git a/rust-brotli.spec b/rust-brotli.spec index 66f489c..7a396ce 100644 --- a/rust-brotli.spec +++ b/rust-brotli.spec @@ -1,5 +1,10 @@ # Generated by rust2rpm 12 +# https://github.com/dropbox/rust-brotli/issues/42 +%if 0%{?__isa_bits} == 32 +%bcond_with check +%else %bcond_without check +%endif %global debug_package %{nil} # The binary is useless and conflicts with original brotli @@ -221,13 +226,8 @@ find -type f -name '*.rs' -executable -exec chmod -x '{}' + %if %{with check} %check -# https://github.com/dropbox/rust-brotli/issues/42 -%if 0%{?__isa_bits} == 32 -%cargo_test -- -- --skip enc::test::test_roundtrip_compressed_repeated --skip enc::test::test_roundtrip_ukkonooa -%else %cargo_test %endif -%endif %changelog * Sat Dec 14 17:51:22 CET 2019 Igor Gnatenko - 3.3.0-1