## 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 %bcond check 1 %global crate rust2rpm-helper Name: rust2rpm-helper Version: 0.1.9 Release: %autorelease Summary: Helper program for rust2rpm SourceLicense: MIT # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # Apache-2.0 # Apache-2.0 OR MIT # MIT # MIT OR Apache-2.0 # Unlicense OR MIT License: MIT AND Apache-2.0 AND Unicode-DFS-2016 AND (Apache-2.0 OR MIT) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown URL: https://codeberg.org/rust2rpm/rust2rpm-helper Source: %{url}/archive/v%{version}.tar.gz BuildRequires: cargo-rpm-macros >= 26 %description Helper program for rust2rpm. %prep %autosetup -n %{name} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install install -Dpm 0755 target/rpm/rust2rpm-helper -t %{buildroot}/%{_bindir}/ %if %{with check} %check %cargo_test %endif %files %license LICENSE %license LICENSE.dependencies %doc CHANGELOG.md %doc README.md %{_bindir}/rust2rpm-helper %changelog ## START: Generated by rpmautospec * Fri Jan 16 2026 Benjamin A. Beasley - 0.1.9-1 - Update to version 0.1.9; Fixes RHBZ#2429625 * Mon Jan 12 2026 Fabio Valentini - 0.1.8-1 - Update to version 0.1.8; Fixes RHBZ#2354889 * Fri Jul 25 2025 Fedora Release Engineering - 0.1.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jan 19 2025 Fedora Release Engineering - 0.1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Oct 22 2024 Fabio Valentini - 0.1.6-1 - Update to version 0.1.6; Fixes RHBZ#2318767 * Sat Jul 20 2024 Fedora Release Engineering - 0.1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 23 2024 Fabio Valentini - 0.1.5-3 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Mon Mar 18 2024 Fabio Valentini - 0.1.5-2 - Regenerate with rust2rpm v26 * Thu Feb 29 2024 Fabio Valentini - 0.1.5-1 - Update to version 0.1.5; Fixes RHBZ#2265159 * Sat Jan 27 2024 Fedora Release Engineering - 0.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Dec 01 2023 Fabio Valentini - 0.1.4-1 - Update to version 0.1.4; Fixes RHBZ#2252420 * Fri Oct 06 2023 Fabio Valentini - 0.1.3-1 - Initial import (#2242017) ## END: Generated by rpmautospec