## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 26 %bcond_without check # prevent library files from being installed %global cargo_install_lib 0 Name: sad Version: 0.4.31 Release: %autorelease Summary: CLI search and replace tool SourceLicense: MIT # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # MIT # MIT OR Apache-2.0 # Unlicense OR MIT License: (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND MIT AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown URL: https://github.com/ms-jpq/sad Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cargo-rpm-macros >= 26 Recommends: fzf Recommends: (git-delta or diff-so-fancy) %global _description %{expand: Space Age seD - Batch File Edit tool. It will show you a really nice diff of proposed changes before you commit them.} %description %{_description} %prep %autosetup -n sad-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %files %license LICENSE %license LICENSE.dependencies %doc README.md %doc RELEASE_NOTES.md %{_bindir}/sad %changelog ## START: Generated by rpmautospec * Tue Sep 24 2024 Fabio Valentini - 0.4.31-2 - Regenerate with rust2rpm v26 * Mon Aug 19 2024 Pavel Solovev - 0.4.31-1 - Update to 0.4.31 * Sat Jul 20 2024 Fedora Release Engineering - 0.4.29-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat May 25 2024 Pavel Solovev - 0.4.29-1 - Update to 0.4.29 * Tue Apr 09 2024 Pavel Solovev - 0.4.28-1 - Update to 0.4.28 (rhbz#2273951) * Sun Mar 24 2024 Pavel Solovev - 0.4.27-1 - Update to 0.4.27 * Sat Mar 23 2024 Pavel Solovev - 0.4.25-1 - Update to 0.4.25 * Sat Jan 27 2024 Fedora Release Engineering - 0.4.23-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Nov 07 2023 Pavel Solovev - 0.4.23-1 - import rhbz#2247538 ## END: Generated by rpmautospec