|
|
@ -1,11 +1,13 @@
|
|
|
|
# Generated by rust2rpm 13
|
|
|
|
# Generated by rust2rpm 15
|
|
|
|
%bcond_without check
|
|
|
|
# * pnet is not packaged
|
|
|
|
|
|
|
|
# * examples and UI tests are not included in the crate
|
|
|
|
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate hyper
|
|
|
|
%global crate hyper
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.13.8
|
|
|
|
Version: 0.13.9
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Fast and correct HTTP library
|
|
|
|
Summary: Fast and correct HTTP library
|
|
|
|
|
|
|
|
|
|
|
@ -13,6 +15,9 @@ Summary: Fast and correct HTTP library
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://crates.io/crates/hyper
|
|
|
|
URL: https://crates.io/crates/hyper
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * remove nightly-only / internal features
|
|
|
|
|
|
|
|
Patch0: hyper-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
@ -51,30 +56,6 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+__internal_happy_eyeballs_tests-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+__internal_happy_eyeballs_tests-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "__internal_happy_eyeballs_tests" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+__internal_happy_eyeballs_tests-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+nightly-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+nightly-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "nightly" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+nightly-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+runtime-devel
|
|
|
|
%package -n %{name}+runtime-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -138,11 +119,14 @@ which use "tcp" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# only run unit tests, examples are not shipped with the crate
|
|
|
|
%cargo_test
|
|
|
|
%cargo_test -- --lib
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Nov 04 2020 Fabio Valentini <decathorpe@gmail.com> - 0.13.9-1
|
|
|
|
|
|
|
|
- Update to version 0.13.9.
|
|
|
|
|
|
|
|
- Fixes RHBZ#1893917
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Sep 20 2020 Fabio Valentini <decathorpe@gmail.com> - 0.13.8-1
|
|
|
|
* Sun Sep 20 2020 Fabio Valentini <decathorpe@gmail.com> - 0.13.8-1
|
|
|
|
- Update to version 0.13.8.
|
|
|
|
- Update to version 0.13.8.
|
|
|
|
|
|
|
|
|
|
|
|