Compare commits

..

No commits in common. 'epel9' and 'i10ce' have entirely different histories.
epel9 ... i10ce

14
.gitignore vendored

@ -1,13 +1 @@
/ripgrep-0.7.1.crate
/ripgrep-0.8.0.crate
/ripgrep-0.8.1.crate
/ripgrep-0.9.0.crate
/ripgrep-0.10.0.crate
/ripgrep-11.0.0.crate
/ripgrep-11.0.1.crate
/ripgrep-11.0.2.crate
/ripgrep-12.0.0.crate
/ripgrep-12.0.1.crate
/ripgrep-12.1.0.crate
/ripgrep-12.1.1.crate
/ripgrep-13.0.0.crate
SOURCES/ripgrep-14.1.1.crate

@ -0,0 +1 @@
bdc875594d6271e01ad6e128e7ee0bf439a8f2c5 SOURCES/ripgrep-14.1.1.crate

@ -0,0 +1,8 @@
--- ripgrep-14.1.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ ripgrep-14.1.1/Cargo.toml 2024-10-19T09:28:39.484694+00:00
@@ -184,5 +184,3 @@
[features]
pcre2 = ["grep/pcre2"]
-[target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.dependencies.jemallocator]
-version = "0.5.0"

@ -0,0 +1,26 @@
[package]
summary = "Line-oriented search tool"
extra-files = [
"%{_mandir}/man1/rg.1*",
"%{bash_completions_dir}/rg.bash",
"%{fish_completions_dir}/rg.fish",
"%{zsh_completions_dir}/_rg",
]
[features]
enable-all = true
[scripts]
install.post = [
"# 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}",
]

@ -1,3 +1,129 @@
## 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
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 14.1.1-1
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Sat Oct 19 2024 Fabio Valentini <decathorpe@gmail.com> - 14.1.1-1
- Update to version 14.1.1; Fixes RHBZ#2310787
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 14.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu May 23 2024 Fabio Valentini <decathorpe@gmail.com> - 14.1.0-3
- Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces
* Sat Feb 03 2024 Michel Lind <salimma@fedoraproject.org> - 14.1.0-2
- Errata: version should be 14.1.0
* Fri Feb 02 2024 Michel Lind <salimma@fedoraproject.org> - 14.1.0-1
- Update to version 14.0.3; Fixes RHBZ#2257185
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 14.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Dec 31 2023 Fabio Valentini <decathorpe@gmail.com> - 14.0.3-1
- Update to version 14.0.3; Fixes RHBZ#2251763
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon May 22 2023 Fabio Valentini <decathorpe@gmail.com> - 13.0.0-10
- Regenerate with rust2rpm v24 and update license tag
* Sat Feb 04 2023 Fabio Valentini <decathorpe@gmail.com> - 13.0.0-8
- Rebuild for fixed frame pointer compiler flags in Rust RPM macros.
@ -185,3 +311,5 @@
* Sun Feb 26 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.0-1
- Initial package
## END: Generated by rpmautospec

@ -1,8 +0,0 @@
--- ripgrep-13.0.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ ripgrep-13.0.0/Cargo.toml 2023-05-22T11:26:12.724117+00:00
@@ -91,5 +91,3 @@
[features]
pcre2 = ["grep/pcre2"]
simd-accel = ["grep/simd-accel"]
-[target."cfg(all(target_env = \"musl\", target_pointer_width = \"64\"))".dependencies.jemallocator]
-version = "0.3.0"

@ -1,7 +0,0 @@
--- ripgrep-13.0.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ ripgrep-13.0.0/Cargo.toml 2023-05-22T11:26:26.249194+00:00
@@ -90,4 +90,3 @@
[features]
pcre2 = ["grep/pcre2"]
-simd-accel = ["grep/simd-accel"]

@ -1,91 +0,0 @@
# Generated by rust2rpm 24
%bcond_without check
%global crate ripgrep
Name: rust-ripgrep
Version: 13.0.0
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 foreign dependencies
Patch: ripgrep-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * drop unsupported SIMD feature
Patch: ripgrep-fix-metadata.diff
BuildRequires: rust-packaging >= 21
%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
# Apache-2.0 OR MIT
# 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 (Apache-2.0 OR MIT) 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_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires -a
echo '/usr/bin/asciidoctor'
%build
%cargo_build -a
%cargo_license_summary -a
%{cargo_license -a} > LICENSE.dependencies
%install
%cargo_install -a
# install manpage
install -Dpm0644 -t %{buildroot}%{_mandir}/man1 \
target/release/build/%{crate}-*/out/rg.1
# install shell completions
install -Dpm0644 -t %{buildroot}%{bash_completions_dir} \
target/release/build/%{crate}-*/out/rg.bash
install -Dpm0644 -t %{buildroot}%{fish_completions_dir} \
target/release/build/%{crate}-*/out/rg.fish
install -Dpm0644 -t %{buildroot}%{zsh_completions_dir} \
complete/_rg
%if %{with check}
%check
%cargo_test -a
%endif
%changelog
%autochangelog

@ -1,4 +0,0 @@
[DEFAULT]
all-features = true
buildrequires =
/usr/bin/asciidoctor

@ -1 +0,0 @@
SHA512 (ripgrep-13.0.0.crate) = 5a8b42ae941a282cbc020ffe0a83d4c6f7b29a2a00a2ed2f3ae89b182a1576d9ce2ca3a1c00f666990604b6b5b37f39332698cf3ceaa3a21287ea6480415a42b
Loading…
Cancel
Save