## START: Set by rpmautospec ## (rpmautospec version 0.7.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 26 %bcond_without check %global crate ripgrep Name: rust-ripgrep Version: 14.1.1 Release: %autorelease Summary: Line-oriented search tool License: Unlicense OR MIT URL: https://crates.io/crates/ripgrep Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: ripgrep-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Ripgrep is a line-oriented search tool that recursively searches the current directory for a regex pattern while respecting gitignore rules. ripgrep has first class support on Windows, macOS and Linux.} %description %{_description} %package -n %{crate} Summary: %{summary} # (Apache-2.0 OR MIT) AND BSD-3-Clause # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # Apache-2.0 OR BSL-1.0 # MIT # MIT OR Apache-2.0 # Unlicense OR MIT License: BSD-3-Clause AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (MIT OR Apache-2.0) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license COPYING %license LICENSE-MIT %license UNLICENSE %license LICENSE.dependencies %doc CHANGELOG.md %doc FAQ.md %doc GUIDE.md %doc README.md %doc RELEASE-CHECKLIST.md %{_bindir}/rg %{_mandir}/man1/rg.1* %{bash_completions_dir}/rg.bash %{fish_completions_dir}/rg.fish %{zsh_completions_dir}/_rg %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -a %build %cargo_build -a %{cargo_license_summary -a} %{cargo_license -a} > LICENSE.dependencies %install %cargo_install -a # generate and install manpage target/release/rg --generate man > rg.1 install -Dpm 0644 rg.1 -t %{buildroot}/%{_mandir}/man1/ # generate and install shell completions target/release/rg --generate complete-bash > rg.bash target/release/rg --generate complete-fish > rg.fish target/release/rg --generate complete-zsh > _rg install -Dpm 0644 rg.bash -t %{buildroot}/%{bash_completions_dir} install -Dpm 0644 rg.fish -t %{buildroot}/%{fish_completions_dir} install -Dpm 0644 _rg -t %{buildroot}/%{zsh_completions_dir} %if %{with check} %check %cargo_test -a %endif %changelog ## START: Generated by rpmautospec * Sat Oct 19 2024 Fabio Valentini - 14.1.1-1 - Update to version 14.1.1; Fixes RHBZ#2310787 * Sat Jul 20 2024 Fedora Release Engineering - 14.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 23 2024 Fabio Valentini - 14.1.0-3 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Sat Feb 03 2024 Michel Lind - 14.1.0-2 - Errata: version should be 14.1.0 * Fri Feb 02 2024 Michel Lind - 14.1.0-1 - Update to version 14.0.3; Fixes RHBZ#2257185 * Fri Jan 26 2024 Fedora Release Engineering - 14.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Dec 31 2023 Fabio Valentini - 14.0.3-1 - Update to version 14.0.3; Fixes RHBZ#2251763 * Fri Jul 21 2023 Fedora Release Engineering - 13.0.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon May 22 2023 Fabio Valentini - 13.0.0-10 - Regenerate with rust2rpm v24 and update license tag * Sat Feb 04 2023 Fabio Valentini - 13.0.0-8 - Rebuild for fixed frame pointer compiler flags in Rust RPM macros. * Sat Jan 21 2023 Fedora Release Engineering - 13.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 13.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 13.0.0-5 - Rebuild with package notes * Tue Jan 25 2022 Fabio Valentini - 13.0.0-4 - Rebuild with thread_local 1.1.4 for RUSTSEC-2022-0006. * Fri Jan 21 2022 Fedora Release Engineering - 13.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 13.0.0-2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 18 2021 Fabio Valentini - 13.0.0-1 - Update to version 13.0.0. - Fixes RHBZ#1971151 * Wed May 19 2021 Fabio Valentini - 12.1.1-6 - Skip some tests that fail only due to cosmetic string differences. * Wed Jan 27 2021 Fedora Release Engineering - 12.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 28 13:32:13 CET 2020 Igor Raits - 12.1.1-4 - Rebuild * Sun Aug 16 15:01:39 GMT 2020 Igor Raits - 12.1.1-3 - Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 12.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri May 29 18:35:53 CEST 2020 Igor Raits - 12.1.1-1 - Update to 12.1.1 * Sun May 10 10:02:13 CEST 2020 Igor Raits - 12.1.0-1 - Update to 12.1.0 * Mon Mar 30 10:16:26 CEST 2020 Igor Raits - 12.0.1-1 - Update to 12.0.1 * Tue Mar 17 16:49:50 CET 2020 Igor Raits - 12.0.0-1 - Update to 12.0.0 * Thu Jan 30 2020 Fedora Release Engineering - 11.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Aug 03 14:42:56 CEST 2019 Igor Gnatenko - 11.0.2-1 - Update to 11.0.2 * Fri Jul 26 2019 Fedora Release Engineering - 11.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jul 21 18:29:00 CEST 2019 Igor Gnatenko - 11.0.1-4 - Correct fish completions directory * Thu Jun 27 08:59:54 CEST 2019 Igor Gnatenko - 11.0.1-3 - Regenerate * Sun Jun 09 12:38:07 CEST 2019 Igor Gnatenko - 11.0.1-2 - Regenerate * Wed Apr 17 07:15:29 CEST 2019 Igor Gnatenko - 11.0.1-1 - Update to 11.0.1 * Tue Apr 16 13:45:20 CEST 2019 Igor Gnatenko - 11.0.0-1 - Update to 11.0.0 * Sun Oct 28 2018 Igor Gnatenko - 0.10.0-4 - Adapt to new packaging * Sun Oct 07 2018 Igor Gnatenko - 0.10.0-3 - Infra can't run tests * Sun Oct 07 2018 Igor Gnatenko - 0.10.0-2 - Run tests in infrastructure * Sun Sep 09 2018 Igor Gnatenko - 0.10.0-1 - Update to 0.10.0 * Sat Aug 04 2018 Igor Gnatenko - 0.9.0-1 - Update to 0.9.0 * Tue Jul 31 2018 Florian Weimer - 0.8.1-10 - Rebuild with fixed binutils * Sun Jul 29 2018 Igor Gnatenko - 0.8.1-9 - Run real tests * Sun Jul 29 2018 Igor Gnatenko - 0.8.1-8 - Bump encoding_rs to 0.8 * Thu Jul 19 2018 Igor Gnatenko - 0.8.1-7 - Bump termcolor to 1 * Sat Jul 14 2018 Fedora Release Engineering - 0.8.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 14 2018 Igor Gnatenko - 0.8.1-5 - Bump regex to 1 * Wed Apr 25 2018 Igor Gnatenko - 0.8.1-3 - Rebuild with new regex crates * Fri Feb 23 2018 Igor Gnatenko - 0.8.1-2 - Restore spec * Fri Feb 23 2018 Igor Gnatenko - 0.8.1-1 - Update to 0.8.1 * Mon Feb 12 2018 Igor Gnatenko - 0.8.0-1 - Update to 0.8.0 * Fri Feb 09 2018 Fedora Release Engineering - 0.7.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Jan 09 2018 Igor Gnatenko - 0.7.1-9 - Rebuild for bytecount 0.3.0 * Mon Jan 08 2018 Igor Gnatenko - 0.7.1-8 - Rebuild for rust-packaging v5 * Thu Nov 30 2017 Igor Gnatenko - 0.7.1-7 - Bump lazy_static to 1 * Tue Nov 28 2017 Igor Gnatenko - 0.7.1-6 - Rebuild for clap 2.28.0 * Thu Nov 23 2017 Igor Gnatenko - 0.7.1-5 - Fix bash completion * Thu Nov 23 2017 Igor Gnatenko - 0.7.1-4 - Package completions * Wed Nov 15 2017 Igor Gnatenko - 0.7.1-3 - Rebuild for dependency change * Tue Nov 14 2017 Igor Gnatenko - 0.7.1-2 - Rebuild for dependency change * Mon Nov 13 2017 Igor Gnatenko - 0.7.1-1 - Update to 0.7.1 * Wed Jul 05 2017 Igor Gnatenko - 0.5.2-3 - Rebuild for clap * Thu Jun 15 2017 Igor Gnatenko - 0.5.2-2 - Bump encoding_rs to 0.6 * Wed Jun 14 2017 Igor Gnatenko - 0.5.2-1 - Update to 0.5.2 * Wed Jun 14 2017 Igor Gnatenko - 0.5.0-2 - Port to use rust-packaging * Wed Mar 15 2017 Igor Gnatenko - 0.5.0-1 - Update to 0.5.0 * Sat Mar 11 2017 Igor Gnatenko - 0.4.0-6 - Rename with rust prefix * Sun Feb 26 2017 Igor Gnatenko - 0.4.0-5 - Rebuild * Sun Feb 26 2017 Igor Gnatenko - 0.4.0-4 - Ship manpage * Sun Feb 26 2017 Igor Gnatenko - 0.4.0-3 - Rebuild (termcolor) * Sun Feb 26 2017 Igor Gnatenko - 0.4.0-2 - Rebuild (memmap) * Sun Feb 26 2017 Igor Gnatenko - 0.4.0-1 - Initial package ## END: Generated by rpmautospec