## 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 27 # * test fixtures are not included in published crates %bcond check 0 %global debug_package %{nil} %global crate rustls Name: rust-rustls Version: 0.23.23 Release: %autorelease Summary: Modern TLS library written in Rust License: Apache-2.0 OR ISC OR MIT URL: https://crates.io/crates/rustls Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * default to the ring crypto backend # * drop support for the aws-lc-rs crypto backend # * drop unused, benchmark-only bencher dev-dependency Patch: rustls-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Rustls is a modern TLS library written in Rust.} %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-ISC %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}+brotli-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+brotli-devel %{_description} This package contains library source intended for building other packages which use the "brotli" feature of the "%{crate}" crate. %files -n %{name}+brotli-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+custom-provider-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+custom-provider-devel %{_description} This package contains library source intended for building other packages which use the "custom-provider" feature of the "%{crate}" crate. %files -n %{name}+custom-provider-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+hashbrown-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+hashbrown-devel %{_description} This package contains library source intended for building other packages which use the "hashbrown" feature of the "%{crate}" crate. %files -n %{name}+hashbrown-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}+read_buf-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+read_buf-devel %{_description} This package contains library source intended for building other packages which use the "read_buf" feature of the "%{crate}" crate. %files -n %{name}+read_buf-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ring-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ring-devel %{_description} This package contains library source intended for building other packages which use the "ring" feature of the "%{crate}" crate. %files -n %{name}+ring-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rustversion-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rustversion-devel %{_description} This package contains library source intended for building other packages which use the "rustversion" feature of the "%{crate}" crate. %files -n %{name}+rustversion-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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}+zlib-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+zlib-devel %{_description} This package contains library source intended for building other packages which use the "zlib" feature of the "%{crate}" crate. %files -n %{name}+zlib-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 ## START: Generated by rpmautospec * Fri Feb 14 2025 Fabio Valentini - 0.23.23-1 - Update to version 0.23.23; Fixes RHBZ#2343022 * Sun Jan 19 2025 Fedora Release Engineering - 0.23.21-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Jan 14 2025 Fabio Valentini - 0.23.21-1 - Update to version 0.23.21; Fixes RHBZ#2336916 * Thu Dec 12 2024 Fabio Valentini - 0.23.20-1 - Update to version 0.23.20; Fixes RHBZ#2331704 * Wed Nov 27 2024 Fabio Valentini - 0.23.19-1 - Update to version 0.23.19; Fixes RHBZ#2328112 * Wed Nov 20 2024 Benjamin A. Beasley - 0.23.17-1 - Update to version 0.23.17; Fixes RHBZ#2326682 * Tue Oct 29 2024 Fabio Valentini - 0.23.16-1 - Update to version 0.23.16; Fixes RHBZ#2316484 * Wed Sep 18 2024 Fabio Valentini - 0.23.13-1 - Update to version 0.23.13; Fixes RHBZ#2311115 * Thu Aug 08 2024 Fabio Valentini - 0.23.12-1 - Update to version 0.23.12; Fixes RHBZ#2296347 * Sat Jul 20 2024 Fedora Release Engineering - 0.23.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 21 2024 Fabio Valentini - 0.23.10-1 - Update to version 0.23.10; Fixes RHBZ#2252576 * Fri Apr 19 2024 Fabio Valentini - 0.22.4-1 - Update to version 0.22.4 * Fri Jan 26 2024 Fedora Release Engineering - 0.21.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Nov 17 2023 Fabio Valentini - 0.21.9-1 - Update to version 0.21.9; Fixes RHBZ#2250091 * Fri Oct 27 2023 Fabio Valentini - 0.21.8-1 - Update to version 0.21.8; Fixes RHBZ#2219880 * Fri Jul 21 2023 Fedora Release Engineering - 0.21.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 28 2023 Fabio Valentini - 0.21.1-1 - Update to version 0.21.2; Fixes RHBZ#2182860 * Sat Mar 18 2023 Fabio Valentini - 0.20.8-1 - Update to version 0.20.8; Fixes RHBZ#2007947 * Sun Mar 12 2023 Fabio Valentini - 0.19.1-8 - Regenerate with rust2rpm v24 * Sat Jan 21 2023 Fedora Release Engineering - 0.19.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Nov 04 2022 Fabio Valentini - 0.19.1-6 - Drop unused, benchmark-only criterion dev-dependency * Sat Jul 23 2022 Fedora Release Engineering - 0.19.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.19.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.19.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 16 2021 Fabio Valentini - 0.19.1-1 - Initial package ## END: Generated by rpmautospec