|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|