Accepting request 1166721 from utilities

ugrep 5.1.4

OBS-URL: https://build.opensuse.org/request/show/1166721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=67
This commit is contained in:
Ana Guerrero 2024-04-11 17:41:11 +00:00 committed by Git OBS Bridge
commit dd0dcbba78
4 changed files with 26 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:687fc43a02287bac18f973822036bb3c470a81825b8eb3d98a335603b249b13b
size 6238147

3
ugrep-5.1.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5b80b527c3c5b4cd8f0ec300d816ac0c1dea11c6de7774d69e9becebf492274d
size 6280906

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Apr 10 20:14:21 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 5.1.4:
* use statfs() with options --include-fs and --exclude-fs when
the preferred statvfs() is not available
* suppress --filter utility stderr messages when ugrep options
-s (--no-messages) and -q (--quiet) are used
* support the NO_COLOR environment variable to suppress color
output
* fix TUI scroll glitch in non-split screen, and other TUI fixes
- enable SIMD code for faster matching on CPUs that support it
(while keeping build reproducible)
-------------------------------------------------------------------
Mon Mar 11 22:06:29 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -18,15 +18,15 @@
Name: ugrep
Version: 5.1.1
Version: 5.1.4
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)
@ -39,6 +39,13 @@ BuildRequires: pkgconfig(zlib)
%if 0%{?suse_version} > 1599
BuildRequires: pkgconfig(bzip3)
%endif
# lib/matcher_avx2.cpp is selected based on a runtime AVX2 check
# lib/matcher_avx512bw.cpp is selected based on runtime AVX512BW check
# Make OBS select an x86_64-v3 build host to reproducibly enable usage
# without cross-compiling
%ifarch x86_64
#!BuildConstraint: hardware:cpu:flag x86-64-v3
%endif
%description
Ugrep supports an interactive query UI and can search file systems, source
@ -85,7 +92,6 @@ This package contains the fish completion for ugrep.
%build
%configure \
--disable-avx \
--enable-color \
%if 0%{?suse_version} > 1599
--with-bzip3 \