commit af69f541cc1df3f8a6c994eacfd486383edd7812 Author: tigro Date: Mon Jan 15 21:33:45 2024 +0300 import rust-http-body-0.4.5-2.el9 diff --git a/.rust-http-body.metadata b/.rust-http-body.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/http-body-0.4.5.crate b/SOURCES/http-body-0.4.5.crate new file mode 100644 index 0000000..c4e3d7e Binary files /dev/null and b/SOURCES/http-body-0.4.5.crate differ diff --git a/SPECS/rust-http-body.spec b/SPECS/rust-http-body.spec new file mode 100644 index 0000000..16740b0 --- /dev/null +++ b/SPECS/rust-http-body.spec @@ -0,0 +1,136 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.0) +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + 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 21 +%bcond_without check +%global debug_package %{nil} + +%global crate http-body + +Name: rust-%{crate} +Version: 0.4.5 +Release: %autorelease +Summary: Trait representing an asynchronous, streaming, HTTP request or response body + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/http-body +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Trait representing an asynchronous, streaming, HTTP request or response body.} + +%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 + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Mon Jan 15 2024 Arkady L. Shane - 0.4.5-2 +- Rebuilt for MSVSphere 9.3 + +* Sat Jul 23 2022 Fedora Release Engineering 0.4.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon May 23 2022 Fabio Valentini 0.4.5-1 +- Update to version 0.4.5; Fixes RHBZ#2088821 + +* Fri Jan 21 2022 Fedora Release Engineering 0.4.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Nov 05 2021 Fabio Valentini 0.4.4-1 +- Update to version 0.4.4; Fixes RHBZ#2016680 + +* Sun Aug 08 2021 Fabio Valentini 0.4.3-1 +- Update to version 0.4.3; Fixes RHBZ#1991242 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.4.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sun May 09 2021 Fabio Valentini - 0.4.2-1 +- Update to version 0.4.2. +- Fixes RHBZ#1958527 + +* Sun Mar 21 2021 Fabio Valentini - 0.4.1-1 +- Update to version 0.4.1. +- Fixes RHBZ#1940960 + +* Sat Mar 06 2021 Fabio Valentini - 0.4.0-1 +- Update to version 0.4.0. + +* Wed Jan 27 2021 Fedora Release Engineering - 0.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Feb 11 10:22:44 CET 2020 Igor Raits - 0.3.1-1 +- Update to 0.3.1 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jun 21 19:49:52 CEST 2019 Igor Gnatenko - 0.1.0-3 +- Regenerate + +* Sat Jun 08 2019 Igor Gnatenko - 0.1.0-2 +- Run tests in infrastructure + +* Sun Jun 02 13:55:02 CEST 2019 Igor Gnatenko - 0.1.0-1 +- Initial package +