## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 25 # * outdated dev-dependencies: rustls-webpki, webpki-roots %bcond_with check %global debug_package %{nil} %global crate tokio-rustls Name: rust-tokio-rustls Version: 0.24.1 Release: %autorelease Summary: Asynchronous TLS/SSL streams for Tokio using Rustls # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/tokio-rustls Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Asynchronous TLS/SSL streams for Tokio using Rustls.} %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 %package -n %{name}+dangerous_configuration-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dangerous_configuration-devel %{_description} This package contains library source intended for building other packages which use the "dangerous_configuration" feature of the "%{crate}" crate. %files -n %{name}+dangerous_configuration-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+early-data-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+early-data-devel %{_description} This package contains library source intended for building other packages which use the "early-data" feature of the "%{crate}" crate. %files -n %{name}+early-data-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+logging-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+logging-devel %{_description} This package contains library source intended for building other packages which use the "logging" feature of the "%{crate}" crate. %files -n %{name}+logging-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+secret_extraction-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+secret_extraction-devel %{_description} This package contains library source intended for building other packages which use the "secret_extraction" feature of the "%{crate}" crate. %files -n %{name}+secret_extraction-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tls12-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tls12-devel %{_description} This package contains library source intended for building other packages which use the "tls12" feature of the "%{crate}" crate. %files -n %{name}+tls12-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 * Mon Jan 15 2024 Arkady L. Shane - 0.24.1-4 - Rebuilt for MSVSphere 9.3 * Wed Oct 25 2023 Fabio Valentini - 0.24.1-4 - Disable tests due to outdated dev-dependencies * Tue Sep 26 2023 Fabio Valentini - 0.24.1-3 - Skip tests that fail due to expired certificates * Sat Jul 22 2023 Fedora Release Engineering - 0.24.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 28 2023 Fabio Valentini - 0.24.1-1 - Update to version 0.24.1; Fixes RHBZ#2183492 * Sat Mar 18 2023 Fabio Valentini - 0.23.4-1 - Update to version 0.23.4; Fixes RHBZ#2014620 * Sat Jan 21 2023 Fedora Release Engineering - 0.22.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.22.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jul 14 2022 Fabio Valentini - 0.22.0-4 - Disable tests that now fail due to expired certificates. * Fri Jan 21 2022 Fedora Release Engineering - 0.22.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.22.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Fabio Valentini - 0.22.0-1 - Initial package