|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
|
# * examples and integration tests are not included in published crates
|
|
|
|
|
# * tower dev-dependency is not packaged
|
|
|
|
|
%bcond_with check
|
|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
%global crate hyper
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.14.17
|
|
|
|
|
Version: 0.14.18
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Fast and correct HTTP library
|
|
|
|
|
|
|
|
|
@ -18,7 +18,7 @@ Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Fast and correct HTTP library.}
|
|
|
|
@ -35,8 +35,8 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
%license %{crate_instdir}/LICENSE
|
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -48,7 +48,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+client-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -60,7 +60,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "client" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+client-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+ffi-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -72,7 +72,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "ffi" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+ffi-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+full-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -84,7 +84,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "full" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+full-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+h2-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -96,7 +96,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "h2" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+h2-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+http1-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -108,7 +108,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "http1" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+http1-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+http2-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -120,7 +120,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "http2" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+http2-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+libc-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -132,7 +132,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "libc" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+libc-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+runtime-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -144,7 +144,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "runtime" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+runtime-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+server-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -156,7 +156,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "server" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+server-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+socket2-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -168,7 +168,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "socket2" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+socket2-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+stream-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -180,7 +180,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "stream" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+stream-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+tcp-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -192,7 +192,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "tcp" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+tcp-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|