commit 229141b35c914384e046290769f25124adc46b30 Author: MSVSphere Packaging Team Date: Fri Dec 20 15:57:55 2024 +0300 import rust-hyper-util-0.1.10-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6171fc6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/hyper-util-0.1.10.crate diff --git a/.rust-hyper-util.metadata b/.rust-hyper-util.metadata new file mode 100644 index 0000000..0517955 --- /dev/null +++ b/.rust-hyper-util.metadata @@ -0,0 +1 @@ +e10f9ba90414a1232cccef63eb1dc1cda828f29d SOURCES/hyper-util-0.1.10.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..b30cbe2 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,7 @@ +[features] +hide = ["__internal_happy_eyeballs_tests"] + +[tests] +run = ["none"] +comments = ["tests can only be run in-tree"] + diff --git a/SPECS/rust-hyper-util.spec b/SPECS/rust-hyper-util.spec new file mode 100644 index 0000000..030b2df --- /dev/null +++ b/SPECS/rust-hyper-util.spec @@ -0,0 +1,227 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by rust2rpm 26 +# * tests can only be run in-tree +%bcond_with check +%global debug_package %{nil} + +%global crate hyper-util + +Name: rust-hyper-util +Version: 0.1.10 +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}+server-graceful-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+server-graceful-devel %{_description} + +This package contains library source intended for building other packages which +use the "server-graceful" feature of the "%{crate}" crate. + +%files -n %{name}+server-graceful-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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.1.10-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Wed Oct 30 2024 Fabio Valentini - 0.1.10-1 +- Update to version 0.1.10; Fixes RHBZ#2322150 + +* Mon Oct 07 2024 Fabio Valentini - 0.1.9-1 +- Update to version 0.1.9; Fixes RHBZ#2314484 + +* Mon Sep 16 2024 Fabio Valentini - 0.1.8-1 +- Update to version 0.1.8; Fixes RHBZ#2310838 + +* Fri Aug 09 2024 Fabio Valentini - 0.1.7-1 +- Update to version 0.1.7; Fixes RHBZ#2303166 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.1.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jul 06 2024 Fabio Valentini - 0.1.6-1 +- Update to version 0.1.6; Fixes RHBZ#2295508 + +* Wed Jun 05 2024 Fabio Valentini - 0.1.5-1 +- Update to version 0.1.5; Fixes RHBZ#2283135 + +* Sat Apr 20 2024 Fabio Valentini - 0.1.3-1 +- Initial import (#2275806) +## END: Generated by rpmautospec