## 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 # prevent library files from being installed %global cargo_install_lib 0 %global crate age-plugin-yubikey Name: rust-age-plugin-yubikey Version: 0.5.0 Release: %autorelease Summary: YubiKey plugin for age clients License: MIT OR Apache-2.0 URL: https://crates.io/crates/age-plugin-yubikey Source: %{crates_source} Source: age-plugin-yubikey-0.5.0-vendor.tar.xz BuildRequires: cargo-rpm-macros >= 26 BuildRequires: pkgconfig(libpcsclite) BuildRequires: pkgconfig(openssl) %global _description %{expand: YubiKey plugin for age clients.} %description %{_description} %package -n %{crate} Summary: %{summary} License: (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND MIT AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT) %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE-APACHE %license LICENSE-MIT %license LICENSE.dependencies %license cargo-vendor.txt %doc CHANGELOG.md %doc README.md %{_bindir}/age-plugin-yubikey %prep %autosetup -n %{crate}-%{version} -p1 -a1 %cargo_prep -v vendor %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %{cargo_vendor_manifest} %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Mon Nov 03 2025 John Doe - 0.5.0-1 - Uncommitted changes ## END: Generated by rpmautospec