forked from pool/ugrep
Compare commits
16 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
82e7a26131 | ||
|
6391f65bc4 | ||
|
328549760d | ||
|
ff36c44e5a | ||
|
b07329ade6 | ||
|
05d3184aa7 | ||
|
dfc777a37b | ||
|
cc022d3d73 | ||
|
66aa37e1a0 | ||
|
04c64f7cb6 | ||
|
e004e031b5 | ||
|
b7c5f7f993 | ||
|
23ec018f24 | ||
|
dce40bdb82 | ||
|
f32bd1535c | ||
|
c762959ed8 |
22
_service
Normal file
22
_service
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="url">https://github.com/Genivia/ugrep.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="filename">ugrep</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="revision">v7.2.2</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="manual"/>
|
||||||
|
<service name="tar" mode="buildtime">
|
||||||
|
<!-- throw away binaries -->
|
||||||
|
<param name="exclude">bin/win32</param>
|
||||||
|
<param name="exclude">bin/win64</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
6
_servicedata
Normal file
6
_servicedata
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/Genivia/ugrep.git</param>
|
||||||
|
<param name="changesrevision">8e9e97861f65408a2fb1196a7b112b992e7ca812</param>
|
||||||
|
</service>
|
||||||
|
</servicedata>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:eec1ddcd17dcc017987caad916ed245adef5ccc151837eefae5f86047fae0d99
|
|
||||||
size 7055035
|
|
3
ugrep-7.2.2.obscpio
Normal file
3
ugrep-7.2.2.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:97e5bec4fbf4f988446a0c8d7d45ad8d8bcec4f3666d7b4201845e440fe7cd2a
|
||||||
|
size 24946189
|
103
ugrep.changes
103
ugrep.changes
@ -1,3 +1,106 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 5 14:17:52 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 7.2.2:
|
||||||
|
* improve search speed when the specified regex pattern is not
|
||||||
|
found in the input when the specified regex starts with a
|
||||||
|
wildcard such as .*, which previously resulted in unnecessary
|
||||||
|
regex match processing overhead
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 28 06:44:29 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 7.2.1:
|
||||||
|
* Fix possible hang when SIMD is not available for some options
|
||||||
|
and patterns
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 24 13:28:19 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 7.2.0:
|
||||||
|
* new options --no-files-with-matches and --no-count
|
||||||
|
* update options -i and -j when used together: -i unconditional
|
||||||
|
case-insensitive matching should override -j smart-case
|
||||||
|
conditional case-insensitive matching
|
||||||
|
* new adoc type added to option -t or --file-type
|
||||||
|
* new full support for GNU/BSD grep option -z (--null-data),
|
||||||
|
such that -z is reassigned from --decompress to --null-data
|
||||||
|
when ugrep is specifically copied or symlinked with the target
|
||||||
|
name grep, egrep, fgrep, zgrep, zegrep, or zfgrep executable
|
||||||
|
file binaries to run as replacements of GNU/BSD grep
|
||||||
|
* fix a bug in ugrep v7 when matching certain case-insensitive
|
||||||
|
patterns at the very end of a file at EOF when an EOL before
|
||||||
|
EOF is missing (this is not a problem in versions prior to v7)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 11 10:40:31 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 7.1.3:
|
||||||
|
* fix a problem with option -i (--ignore-case) that in rare and
|
||||||
|
specific circumstances may not match all of the specified
|
||||||
|
alternate sub-patterns
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 1 18:57:59 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 7.1.2:
|
||||||
|
* support the latest bzip3 library upgrades
|
||||||
|
* permit su search of "unreadable" files
|
||||||
|
* do not exit with code 2 when some files can't be decompressed
|
||||||
|
- enable bzip3 support for Leap
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 5 16:03:18 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 7.1.1:
|
||||||
|
* fix negative character classes when option -i or --ignore-case
|
||||||
|
is used and make ugrep closely emulate GNU grep's character
|
||||||
|
class behavior when options -i and -P are used
|
||||||
|
* appease -Woverload-virtual and -Wshadow warnings
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 23 10:07:23 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 7.1.0:
|
||||||
|
* add TUI glob editor syntax highlighting
|
||||||
|
* bin/ug(|rep)+: Let the helper script work if no helper is
|
||||||
|
available
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 17 17:55:42 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 7.0.4:
|
||||||
|
* TUI fixes for other platforms
|
||||||
|
- remove Windows binaries from src rpm; switch to source service
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 12 21:10:44 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 7.0.3:
|
||||||
|
* fixes for other platforms
|
||||||
|
* usability improvements
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 28 20:35:07 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 7.0.2:
|
||||||
|
* rewritten SIMD acceleration logic and the search algorithm
|
||||||
|
selection decision logic to speed up pattern matching (the
|
||||||
|
actual speedup depends on the type of regex patterns specified)
|
||||||
|
* improved regex anchors and word boundary matching speed and
|
||||||
|
support
|
||||||
|
* fix option --xml pathnames with special characters, which are
|
||||||
|
unlikely to occur in pathnames, but aren't strictly forbidden
|
||||||
|
* updated option --hexdump with -ABC context hex lines before and
|
||||||
|
after a match
|
||||||
|
* the TUI now also uses the VISUAL environment variable if PAGER
|
||||||
|
is not set
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 9 05:24:34 UTC 2024 - jun wang <jgwang@suse.com>
|
||||||
|
|
||||||
|
- disable AVX2/AVX512BW CPU extensions because of bsc#1222752
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Aug 24 07:09:34 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
Sat Aug 24 07:09:34 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
4
ugrep.obsinfo
Normal file
4
ugrep.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: ugrep
|
||||||
|
version: 7.2.2
|
||||||
|
mtime: 1738613410
|
||||||
|
commit: 8e9e97861f65408a2fb1196a7b112b992e7ca812
|
21
ugrep.spec
21
ugrep.spec
@ -2,7 +2,7 @@
|
|||||||
# spec file for package ugrep
|
# spec file for package ugrep
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -23,17 +23,18 @@
|
|||||||
%bcond_without fish
|
%bcond_without fish
|
||||||
%endif
|
%endif
|
||||||
Name: ugrep
|
Name: ugrep
|
||||||
Version: 6.5.0
|
Version: 7.2.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Universal grep: a feature-rich grep implementation with focus on speed
|
Summary: Universal grep: a feature-rich grep implementation with focus on speed
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Productivity/File utilities
|
Group: Productivity/File utilities
|
||||||
URL: https://github.com/Genivia/ugrep
|
URL: https://github.com/Genivia/ugrep
|
||||||
Source: https://github.com/Genivia/ugrep/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.xz
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(bzip2)
|
BuildRequires: pkgconfig(bzip2)
|
||||||
|
BuildRequires: pkgconfig(bzip3)
|
||||||
BuildRequires: pkgconfig(libbrotlidec)
|
BuildRequires: pkgconfig(libbrotlidec)
|
||||||
BuildRequires: pkgconfig(liblz4)
|
BuildRequires: pkgconfig(liblz4)
|
||||||
BuildRequires: pkgconfig(liblzma)
|
BuildRequires: pkgconfig(liblzma)
|
||||||
@ -42,17 +43,6 @@ BuildRequires: pkgconfig(libzstd)
|
|||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
Provides: ugrep-indexer = 1.0.0
|
Provides: ugrep-indexer = 1.0.0
|
||||||
Obsoletes: ugrep-indexer < 1.0.0
|
Obsoletes: ugrep-indexer < 1.0.0
|
||||||
# the bzip3 version seems to old, the tests break with decompression errors
|
|
||||||
%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
|
%description
|
||||||
Ugrep supports an interactive query UI and can search file systems, source
|
Ugrep supports an interactive query UI and can search file systems, source
|
||||||
@ -101,10 +91,9 @@ This package contains the fish completion for ugrep.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
|
--disable-avx2 \
|
||||||
--enable-color \
|
--enable-color \
|
||||||
%if 0%{?suse_version} > 1599
|
|
||||||
--with-bzip3 \
|
--with-bzip3 \
|
||||||
%endif
|
|
||||||
%if !%{with fish}
|
%if !%{with fish}
|
||||||
--with-fish-completion-dir=no \
|
--with-fish-completion-dir=no \
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user