## START: Set by rpmautospec ## (rpmautospec version 0.8.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 %bcond check 1 %global debug_package %{nil} %global crate rcgen Name: rust-rcgen Version: 0.14.5 Release: %autorelease Summary: Rust X.509 certificate generator License: MIT OR Apache-2.0 URL: https://crates.io/crates/rcgen Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused support for the aws-lc-rs crypto backend Patch: rcgen-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Rust X.509 certificate generator.} %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 %package -n %{name}+crypto-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+crypto-devel %{_description} This package contains library source intended for building other packages which use the "crypto" feature of the "%{crate}" crate. %files -n %{name}+crypto-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pem-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pem-devel %{_description} This package contains library source intended for building other packages which use the "pem" feature of the "%{crate}" crate. %files -n %{name}+pem-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}+x509-parser-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+x509-parser-devel %{_description} This package contains library source intended for building other packages which use the "x509-parser" feature of the "%{crate}" crate. %files -n %{name}+x509-parser-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zeroize-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+zeroize-devel %{_description} This package contains library source intended for building other packages which use the "zeroize" feature of the "%{crate}" crate. %files -n %{name}+zeroize-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -f x509-parser %build %cargo_build -f x509-parser %install %cargo_install -f x509-parser %if %{with check} %check %cargo_test -f x509-parser %endif %changelog ## START: Generated by rpmautospec * Fri Nov 14 2025 Benjamin A. Beasley - 0.14.5-1 - Update to version 0.14.5; Fixes RHBZ#2375867 * Fri Jul 25 2025 Fedora Release Engineering - 0.13.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Wed Apr 30 2025 Fabio Valentini - 0.13.2-1 - Update to version 0.13.2; Fixes RHBZ#2333616 * Sun Jan 19 2025 Fedora Release Engineering - 0.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Thu Sep 19 2024 Fabio Valentini - 0.13.1-1 - Initial import (#2312228) ## END: Generated by rpmautospec