From 63b5b047428fcf63087ea91de3745f202b43ef51 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 17:53:51 +0300 Subject: [PATCH] import rust-tokio-openssl-0.6.5-1.el10 --- .gitignore | 1 + .rust-tokio-openssl.metadata | 1 + SOURCES/rust2rpm.toml | 5 ++ SPECS/rust-tokio-openssl.spec | 147 ++++++++++++++++++++++++++++++++++ 4 files changed, 154 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-tokio-openssl.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-tokio-openssl.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7c93052 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/tokio-openssl-0.6.5.crate diff --git a/.rust-tokio-openssl.metadata b/.rust-tokio-openssl.metadata new file mode 100644 index 0000000..8a3cfb5 --- /dev/null +++ b/.rust-tokio-openssl.metadata @@ -0,0 +1 @@ +662a6f5c85d81021cb83bc8ad0548de22baafbe1 SOURCES/tokio-openssl-0.6.5.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..86f6209 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,5 @@ +[tests] +skip = ["test::google"] +skip-exact = true +comments = ["skip a test that requires internet connectivity"] + diff --git a/SPECS/rust-tokio-openssl.spec b/SPECS/rust-tokio-openssl.spec new file mode 100644 index 0000000..69ee4d0 --- /dev/null +++ b/SPECS/rust-tokio-openssl.spec @@ -0,0 +1,147 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## 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 +%bcond_without check +%global debug_package %{nil} + +%global crate tokio-openssl + +Name: rust-tokio-openssl +Version: 0.6.5 +Release: %autorelease +Summary: Implementation of SSL streams for Tokio backed by OpenSSL + +# Upstream license specification: MIT/Apache-2.0 +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/tokio-openssl +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +An implementation of SSL streams for Tokio backed by OpenSSL.} + +%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-APACHE +%license %{crate_instdir}/LICENSE-MIT +%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} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +# * skip a test that requires internet connectivity +%cargo_test -- -- --exact --skip test::google +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.6.5-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Mon Sep 16 2024 Fabio Valentini - 0.6.5-1 +- Update to version 0.6.5; Fixes RHBZ#2312367 + +* Sat Jul 20 2024 Fedora Release Engineering - 0.6.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 0.6.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jan 11 2024 Fabio Valentini - 0.6.4-1 +- Update to version 0.6.4; Fixes RHBZ#2254113 + +* Sat Jul 22 2023 Fedora Release Engineering - 0.6.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon May 22 2023 Fabio Valentini - 0.6.3-5 +- Regenerate with rust2rpm v24 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.6.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.6.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.6.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Nov 05 2021 Fabio Valentini - 0.6.3-1 +- Update to version 0.6.3; Fixes RHBZ#2015734 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jun 22 2021 Fabio Valentini - 0.6.2-1 +- Update to version 0.6.2. +- Fixes RHBZ#1974081 + +* Mon Mar 08 2021 Fabio Valentini - 0.6.1-1 +- Update to version 0.6.1. + +* Wed Jan 27 2021 Fedora Release Engineering - 0.4.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Aug 01 2020 Fedora Release Engineering - 0.4.0-4 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Dec 14 15:22:47 CET 2019 Igor Gnatenko - 0.4.0-1 +- Update to 0.4.0 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 09:03:22 CEST 2019 Igor Gnatenko - 0.3.0-1 +- Initial package + +## END: Generated by rpmautospec