diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fdb356d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/hyper-util-0.1.3.crate diff --git a/README.md b/README.md deleted file mode 100644 index b465f09..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-hyper-util - -The rust-hyper-util package diff --git a/rust-hyper-util.spec b/rust-hyper-util.spec new file mode 100644 index 0000000..04fe016 --- /dev/null +++ b/rust-hyper-util.spec @@ -0,0 +1,178 @@ +# Generated by rust2rpm 26 +# * dev-dependencies too old in Fedora: pnet_datalink ^0.34 +%bcond_with check +%global debug_package %{nil} + +%global crate hyper-util + +Name: rust-hyper-util +Version: 0.1.3 +Release: %autorelease +Summary: Hyper utilities + +License: MIT +URL: https://crates.io/crates/hyper-util +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Hyper utilities.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+client-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+client-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+client-legacy-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+client-legacy-devel %{_description} + +This package contains library source intended for building other packages which +use the "client-legacy" feature of the "%{crate}" crate. + +%files -n %{name}+client-legacy-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+full-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+full-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+http1-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+http1-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+http2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+http2-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+server-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+server-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+server-auto-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+server-auto-devel %{_description} + +This package contains library source intended for building other packages which +use the "server-auto" feature of the "%{crate}" crate. + +%files -n %{name}+server-auto-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+service-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+service-devel %{_description} + +This package contains library source intended for building other packages which +use the "service" feature of the "%{crate}" crate. + +%files -n %{name}+service-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tokio-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..6bfa583 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[features] +hide = ["__internal_happy_eyeballs_tests"] + diff --git a/sources b/sources new file mode 100644 index 0000000..6e5f0d5 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (hyper-util-0.1.3.crate) = fa68ae79e56a40beef318ec1b3fa6683ecd49371a64b123e55cb311a739d44226bfd526afbbab661785ce4302ef4bb1bcbff80ae3c6af26a4db62e9d4792a114