## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %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 25 %bcond_without check %global debug_package %{nil} %global crate hyper-rustls Name: rust-hyper-rustls Version: 0.24.2 Release: %autorelease Summary: Rustls+hyper integration for pure rust HTTPS License: Apache-2.0 OR ISC OR MIT URL: https://crates.io/crates/hyper-rustls Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Rustls+hyper integration for pure rust HTTPS.} %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 %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-ISC %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/README.md %doc %{crate_instdir}/RELEASING.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}+acceptor-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+acceptor-devel %{_description} This package contains library source intended for building other packages which use the "acceptor" feature of the "%{crate}" crate. %files -n %{name}+acceptor-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}+log-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+log-devel %{_description} This package contains library source intended for building other packages which use the "log" feature of the "%{crate}" crate. %files -n %{name}+log-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}+native-tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+native-tokio-devel %{_description} This package contains library source intended for building other packages which use the "native-tokio" feature of the "%{crate}" crate. %files -n %{name}+native-tokio-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rustls-native-certs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rustls-native-certs-devel %{_description} This package contains library source intended for building other packages which use the "rustls-native-certs" feature of the "%{crate}" crate. %files -n %{name}+rustls-native-certs-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 %package -n %{name}+tokio-runtime-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-runtime-devel %{_description} This package contains library source intended for building other packages which use the "tokio-runtime" feature of the "%{crate}" crate. %files -n %{name}+tokio-runtime-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+webpki-roots-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+webpki-roots-devel %{_description} This package contains library source intended for building other packages which use the "webpki-roots" feature of the "%{crate}" crate. %files -n %{name}+webpki-roots-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+webpki-tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+webpki-tokio-devel %{_description} This package contains library source intended for building other packages which use the "webpki-tokio" feature of the "%{crate}" crate. %files -n %{name}+webpki-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 # * files needed by integration tests are not included in published crates %cargo_test -- -- --exact --skip client --skip custom_ca_store --skip server %endif %changelog ## START: Generated by rpmautospec * Fri Jan 26 2024 Fedora Release Engineering - 0.24.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Oct 27 2023 Fabio Valentini - 0.24.2-1 - Update to version 0.24.2; Fixes RHBZ#2246414 * Wed Oct 25 2023 Fabio Valentini - 0.24.1-3 - Bump webpki-roots dependency from 0.23 to 0.25 * Fri Jul 21 2023 Fedora Release Engineering - 0.24.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jul 15 2023 Fabio Valentini - 0.24.1-1 - Update to version 0.24.1; Fixes RHBZ#2219638 * Wed Jun 28 2023 Fabio Valentini - 0.24.0-1 - Update to version 0.24.0; Fixes RHBZ#2183760 * Sat Mar 18 2023 Fabio Valentini - 0.23.2-1 - Update to version 0.23.2; Fixes RHBZ#2025286 * Fri Jan 20 2023 Fedora Release Engineering - 0.22.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.22.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.22.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.22.1-2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jun 07 2021 Fabio Valentini - 0.22.1-1 - Initial package ## END: Generated by rpmautospec