enable running unit tests

epel9
Fabio Valentini 5 years ago committed by Zbigniew Jędrzejewski-Szmek
parent 79cc42b09b
commit f80cc98928

@ -1,13 +1,12 @@
# Generated by rust2rpm 13
# * tower-util is not packaged
%bcond_with check
%bcond_without check
%global debug_package %{nil}
%global crate hyper
Name: rust-%{crate}
Version: 0.13.6
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Fast and correct HTTP library
# Upstream license specification: MIT
@ -127,11 +126,14 @@ which use "tcp" feature of "%{crate}" crate.
%if %{with check}
%check
# Test files are missing
%cargo_test -- --doc
# only run unit tests, examples are not shipped with the crate
%cargo_test -- --lib
%endif
%changelog
* Thu Jun 25 2020 Fabio Valentini <decathorpe@gmail.com> - 0.13.6-2
- Enable running unit tests.
* Sat May 30 2020 Josh Stone <jistone@redhat.com> - 0.13.6-1
- Update to 0.13.6

Loading…
Cancel
Save