From 854da2f26b4c89d3bfb2c74435bfb248c9d604c7bfda161a7a2c2de2709ae085 Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Sat, 24 Aug 2024 07:14:01 +0000 Subject: [PATCH] ugrep 6.5.0 OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=152 --- ugrep-6.4.1.tar.gz | 3 --- ugrep-6.5.0.tar.gz | 3 +++ ugrep.changes | 15 +++++++++++++++ ugrep.spec | 16 ++++++++++++++-- 4 files changed, 32 insertions(+), 5 deletions(-) delete mode 100644 ugrep-6.4.1.tar.gz create mode 100644 ugrep-6.5.0.tar.gz diff --git a/ugrep-6.4.1.tar.gz b/ugrep-6.4.1.tar.gz deleted file mode 100644 index f5b77a8..0000000 --- a/ugrep-6.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a90929a36c3adfbfc493cd808b0ca1e6ca0b06932447a91eaa598ad8b377bbc4 -size 7045057 diff --git a/ugrep-6.5.0.tar.gz b/ugrep-6.5.0.tar.gz new file mode 100644 index 0000000..923f6d7 --- /dev/null +++ b/ugrep-6.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eec1ddcd17dcc017987caad916ed245adef5ccc151837eefae5f86047fae0d99 +size 7055035 diff --git a/ugrep.changes b/ugrep.changes index ad79005..8acaee9 100644 --- a/ugrep.changes +++ b/ugrep.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sat Aug 24 07:09:34 UTC 2024 - Andreas Stieger + +- update to 6.5.0 + * faster binary file checking with SIMD (SSE2/AVX2/NEON) UTF-8 + validation + * new option --context-separator=SEP + * options -W and -X now also apply to --format fields %o and %O + to output hex + * ugrep-indexer option -z (indexes compressed files and + zip/7z/tar/cpio/pax archives) no longer indexes hidden + directories and files (i.e. "dotfiles") stored in archives, to + save space +- make spec build on Amazon Linux 2023 + ------------------------------------------------------------------- Fri Aug 9 17:04:45 UTC 2024 - Andreas Stieger diff --git a/ugrep.spec b/ugrep.spec index 46d2400..879cae7 100644 --- a/ugrep.spec +++ b/ugrep.spec @@ -17,16 +17,21 @@ # +%if 0%{?amzn} +%bcond_with fish +%else +%bcond_without fish +%endif Name: ugrep -Version: 6.4.1 +Version: 6.5.0 Release: 0 Summary: Universal grep: a feature-rich grep implementation with focus on speed License: BSD-3-Clause Group: Productivity/File utilities URL: https://github.com/Genivia/ugrep Source: https://github.com/Genivia/ugrep/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: c++_compiler BuildRequires: fdupes +BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(libbrotlidec) @@ -77,6 +82,7 @@ BuildArch: noarch This package contains the zsh completion for ugrep. +%if %{with fish} %package fish-completion Summary: Fish completion for ugrep BuildRequires: fish @@ -88,6 +94,7 @@ BuildArch: noarch %description fish-completion This package contains the fish completion for ugrep. +%endif %prep %autosetup -p1 @@ -97,6 +104,9 @@ This package contains the fish completion for ugrep. --enable-color \ %if 0%{?suse_version} > 1599 --with-bzip3 \ +%endif +%if !%{with fish} + --with-fish-completion-dir=no \ %endif %{nil} %make_build @@ -123,8 +133,10 @@ This package contains the fish completion for ugrep. %license LICENSE.txt %{_datadir}/zsh/site-functions/* +%if %{with fish} %files fish-completion %license LICENSE.txt %{_datadir}/fish/vendor_completions.d/*.fish +%endif %changelog