|
|
@ -1,11 +1,12 @@
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
|
|
|
# * rustls stuff is not packaged
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate h2
|
|
|
|
%global crate h2
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.1.23
|
|
|
|
Version: 0.1.24
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: HTTP/2.0 client and server
|
|
|
|
Summary: HTTP/2.0 client and server
|
|
|
|
|
|
|
|
|
|
|
@ -15,32 +16,11 @@ URL: https://crates.io/crates/h2
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(byteorder/default) >= 1.0.0 with crate(byteorder/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(bytes/default) >= 0.4.7 with crate(bytes/default) < 0.5.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(fnv/default) >= 1.0.5 with crate(fnv/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(futures/default) >= 0.1.0 with crate(futures/default) < 0.2.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(http/default) >= 0.1.8 with crate(http/default) < 0.2.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(indexmap/default) >= 1.0.0 with crate(indexmap/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(log/default) >= 0.4.1 with crate(log/default) < 0.5.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(slab/default) >= 0.4.0 with crate(slab/default) < 0.5.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(string/default) >= 0.2.0 with crate(string/default) < 0.3.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(tokio-io/default) >= 0.1.4 with crate(tokio-io/default) < 0.2.0)
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
BuildRequires: (crate(env_logger) >= 0.5.3 with crate(env_logger) < 0.6.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(hex/default) >= 0.2.0 with crate(hex/default) < 0.3.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(quickcheck) >= 0.4.1 with crate(quickcheck) < 0.5.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.3.15 with crate(rand/default) < 0.4.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(rustls/default) >= 0.12.0 with crate(rustls/default) < 0.13.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(tokio-rustls/default) >= 0.5.0 with crate(tokio-rustls/default) < 0.6.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(tokio/default) >= 0.1.8 with crate(tokio/default) < 0.2.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(walkdir/default) >= 1.0.0 with crate(walkdir/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(webpki-roots/default) >= 0.14.0 with crate(webpki-roots/default) < 0.15.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(webpki/default) >= 0.18.0 with crate(webpki/default) < 0.19.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
HTTP/2.0 client and server.}
|
|
|
|
HTTP/2.0 client and server.}
|
|
|
@ -89,6 +69,9 @@ which use "unstable" feature of "%{crate}" crate.
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
|
|
@ -101,6 +84,9 @@ which use "unstable" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jun 18 08:24:55 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.24-1
|
|
|
|
|
|
|
|
- Update to 0.1.24
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 05 17:48:13 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.23-1
|
|
|
|
* Wed Jun 05 17:48:13 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.23-1
|
|
|
|
- Update to 0.1.23
|
|
|
|
- Update to 0.1.23
|
|
|
|
|
|
|
|
|
|
|
|