## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 9; 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 24 # * missing dev-dependencies: fehler, subplot-build, subplotlib %bcond_with check %global crate sequoia-sq Name: rust-sequoia-sq Version: 0.26.0 Release: %autorelease Summary: Command-line frontends for Sequoia License: GPL-2.0-or-later URL: https://crates.io/crates/sequoia-sq Source: %{crates_source} # Manually created patch for downstream crate metadata changes Patch: sequoia-sq-fix-metadata.diff # * exclude files that are only useful for upstream development # * prevent manpages from getting installed twice # * drop automated generation of upstream integration tests # * bump sequoia-autocrypt to 0.25 # * bump sequoia-net to 0.27 Patch: 0001-build-remove-automated-integration-test-generation.patch BuildRequires: rust-packaging >= 23 %global _description %{expand: Command-line frontends for Sequoia.} %description %{_description} %package -n %{crate} Summary: %{summary} # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # 0BSD OR MIT OR Apache-2.0 # Apache-2.0 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSL-1.0 # GPL-2.0-or-later # LGPL-2.0-or-later # LGPL-3.0 OR GPL-2.0 OR GPL-3.0 # LGPL-3.0+ # MIT # MIT OR Apache-2.0 # MIT OR Apache-2.0 OR Zlib # MIT OR Zlib OR Apache-2.0 # Unlicense OR MIT # Zlib OR Apache-2.0 OR MIT License: GPL-2.0-or-later AND Apache-2.0 AND BSL-1.0 AND LGPL-3.0 AND MIT AND Unicode-DFS-2016 %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE.txt %license LICENSE.dependencies %{_bindir}/sq %{_mandir}/man1/sq* %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 # remove integration tests (assert-cli is broken during RPM builds) rm -r tests %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %cargo_license_summary %{cargo_license} > LICENSE.dependencies %install %cargo_install # install manual pages mkdir -p %{buildroot}/%{_mandir}/man1 cp -pav man-sq-net-autocrypt/* %{buildroot}/%{_mandir}/man1/ %if %{with check} %check %cargo_test %endif %changelog * Fri Jul 21 2023 Fedora Release Engineering - 0.26.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu May 18 2023 Fabio Valentini - 0.26.0-8 - Rebuild for sequoia-openpgp v1.16 * Wed May 03 2023 Fabio Valentini - 0.26.0-7 - Rebuild for tokio, h2, and openssl crate security updates * Fri Apr 14 2023 Fabio Valentini - 0.26.0-6 - Bump sequoia-autocrypt to v0.25 and sequoia-net to v0.27 * Sun Feb 26 2023 Fabio Valentini - 0.26.0-5 - Rebuild for bzip2 0.4.4 (CVE-2023-22895 / RUSTSEC-2023-0004) * Sun Feb 05 2023 Fabio Valentini - 0.26.0-4 - Rebuild for fixed frame pointer compiler flags in Rust RPM macros * Sat Jan 21 2023 Fedora Release Engineering - 0.26.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.26.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Mar 16 2022 Fabio Valentini - 0.26.0-1 - Update to version 0.26.0; Fixes RHBZ#2059968 * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 0.25.0-5 - Rebuild with package notes * Fri Jan 21 2022 Fedora Release Engineering - 0.25.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Sep 14 2021 Sahana Prasad - 0.25.0-3 - Rebuilt with OpenSSL 3.0.0 * Fri Jul 23 2021 Fedora Release Engineering - 0.25.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Apr 08 2021 Fabio Valentini - 0.25.0-1 - Initial package