diff --git a/ugrep-5.1.1.tar.gz b/ugrep-5.1.1.tar.gz deleted file mode 100644 index 5975232..0000000 --- a/ugrep-5.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:687fc43a02287bac18f973822036bb3c470a81825b8eb3d98a335603b249b13b -size 6238147 diff --git a/ugrep-5.1.4.tar.gz b/ugrep-5.1.4.tar.gz new file mode 100644 index 0000000..cf87e63 --- /dev/null +++ b/ugrep-5.1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b80b527c3c5b4cd8f0ec300d816ac0c1dea11c6de7774d69e9becebf492274d +size 6280906 diff --git a/ugrep.changes b/ugrep.changes index f500f4e..65c0df3 100644 --- a/ugrep.changes +++ b/ugrep.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Apr 10 20:14:21 UTC 2024 - Andreas Stieger + +- 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 diff --git a/ugrep.spec b/ugrep.spec index dd40cee..a5f2673 100644 --- a/ugrep.spec +++ b/ugrep.spec @@ -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 \