|
|
|
@ -1,21 +1,21 @@
|
|
|
|
|
# Generated by rust2rpm 15
|
|
|
|
|
# Generated by rust2rpm 17
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global __cargo_skip_build 0
|
|
|
|
|
|
|
|
|
|
%global crate ripgrep
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 12.1.1
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: Line oriented search tool using Rust's regex library
|
|
|
|
|
Version: 13.0.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Line oriented search tool
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Unlicense OR MIT
|
|
|
|
|
License: Unlicense or MIT
|
|
|
|
|
URL: https://crates.io/crates/ripgrep
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * No simd
|
|
|
|
|
# * No jemalloc
|
|
|
|
|
# * drop unsupported SIMD feature
|
|
|
|
|
# * drop unsupported jemalloc feature
|
|
|
|
|
Patch0: ripgrep-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
@ -23,25 +23,26 @@ ExclusiveArch: %{rust_arches}
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Line-oriented search tool that recursively searches your current directory for
|
|
|
|
|
a regex pattern while respecting your gitignore rules. ripgrep has first class
|
|
|
|
|
support on Windows, macOS and Linux.}
|
|
|
|
|
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}
|
|
|
|
|
# ASL 2.0 or Boost
|
|
|
|
|
# ASL 2.0 or MIT
|
|
|
|
|
# MIT
|
|
|
|
|
# MIT or ASL 2.0
|
|
|
|
|
# Unlicense or MIT
|
|
|
|
|
License: MIT and (Boost or ASL 2.0)
|
|
|
|
|
License: MIT and (ASL 2.0 or Boost)
|
|
|
|
|
|
|
|
|
|
%description -n %{crate} %{_description}
|
|
|
|
|
|
|
|
|
|
%files -n %{crate}
|
|
|
|
|
%license LICENSE-MIT UNLICENSE COPYING
|
|
|
|
|
%doc README.md CHANGELOG.md
|
|
|
|
|
%doc README.md CHANGELOG.md FAQ.md GUIDE.md
|
|
|
|
|
%{_bindir}/rg
|
|
|
|
|
%{_mandir}/man1/rg.1*
|
|
|
|
|
%dir %{_datadir}/bash-completion
|
|
|
|
@ -78,21 +79,14 @@ install -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
%check
|
|
|
|
|
# skip some tests that fail only due to cosmetic string differences
|
|
|
|
|
%cargo_test -a -- -- \
|
|
|
|
|
--skip binary::after_match1_explicit \
|
|
|
|
|
--skip binary::after_match1_implicit \
|
|
|
|
|
--skip binary::after_match1_implicit_binary \
|
|
|
|
|
--skip binary::after_match1_stdin \
|
|
|
|
|
--skip binary::after_match2_implicit \
|
|
|
|
|
--skip binary::before_match1_implicit_binary \
|
|
|
|
|
--skip binary::before_match2_explicit \
|
|
|
|
|
--skip misc::binary_convert \
|
|
|
|
|
--skip misc::binary_convert_mmap \
|
|
|
|
|
--skip misc::unrestricted3
|
|
|
|
|
%cargo_test -a
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jun 18 2021 Fabio Valentini <decathorpe@gmail.com> - 13.0.0-1
|
|
|
|
|
- Update to version 13.0.0.
|
|
|
|
|
- Fixes RHBZ#1971151
|
|
|
|
|
|
|
|
|
|
* Wed May 19 2021 Fabio Valentini <decathorpe@gmail.com> - 12.1.1-6
|
|
|
|
|
- Skip some tests that fail only due to cosmetic string differences.
|
|
|
|
|
|
|
|
|
|