## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; 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 crate sequoia-keystore-server Name: rust-sequoia-keystore-server Version: 0.2.0 Release: %autorelease Summary: Sequoia keystore daemon License: LGPL-2.0-or-later URL: https://crates.io/crates/sequoia-keystore-server Source: %{crates_source} # * https://gitlab.com/sequoia-pgp/sequoia-keystore/-/merge_requests/109 Source2: https://gitlab.com/sequoia-pgp/sequoia-keystore/-/raw/server/v0.2.0/LICENSE.txt # Manually created patch for downstream crate metadata changes # * switch crypto backend from Nettle to OpenSSL (matching other Sequoia tools) # * drop features for unsupported crypto backends # * allow dirs 6: # https://gitlab.com/sequoia-pgp/sequoia-keystore/-/merge_requests/118 Patch: sequoia-keystore-server-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Sequoia keystore daemon.} %description %{_description} %package -n %{crate} Summary: %{summary} # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # Apache-2.0 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-2-Clause OR Apache-2.0 OR MIT # BSD-3-Clause # BSL-1.0 # LGPL-2.0-or-later # MIT # MIT OR Apache-2.0 # MPL-2.0 # Unicode-3.0 # Unlicense OR MIT License: %{shrink: LGPL-2.0-or-later AND Apache-2.0 AND BSD-3-Clause AND BSL-1.0 AND MIT AND MPL-2.0 AND Unicode-3.0 AND Unicode-DFS-2016 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (Unlicense OR MIT) } # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE.txt %license LICENSE.dependencies %doc README.md %{_libexecdir}/sequoia-keystore %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep cp -pav %{SOURCE2} . %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install # move executable from /usr/bin into /usr/libexec mkdir -p %{buildroot}/%{_libexecdir} mv %{buildroot}/%{_bindir}/sequoia-keystore %{buildroot}/%{_libexecdir}/ %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Sat Feb 07 2026 Fabio Valentini - 0.2.0-6 - Rebuild for RUSTSEC-2026-{0007,0008,0009} and CVE-2026-25537 * Mon Jan 26 2026 Fabio Valentini - 0.2.0-5 - Rebuild for sequoia-openpgp v2.1.0 (RUSTSEC-2025-0136 / CVE-2025-67897) * Sat Jan 17 2026 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Nov 07 2025 Benjamin A. Beasley - 0.2.0-3 - Allow dirs 6 * Fri Jul 25 2025 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Wed May 28 2025 Fabio Valentini - 0.2.0-1 - Initial import (#2354574) ## END: Generated by rpmautospec