Bug 2525945 - Review Request: textparser - High-performance text parsing CLI and library
Summary: Review Request: textparser - High-performance text parsing CLI and library
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Benson Muite
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-30 03:12 UTC by Boris
Modified: 2026-09-22 09:57 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
benson_muite: fedora-review?


Attachments (Terms of Use)

Description Boris 2026-08-30 03:12:14 UTC
Spec URL: https://bokic.dev/fedora/textparser.spec
SRPM URL: https://bokic.dev/fedora/textparser-1.0.12-1.src.rpm

Description:
TextParser is a high-performance, extensible text parsing CLI and library written in C.
It includes language grammars, an AST generator, and CLI utilities (textparser, ccat).

Fedora Account System (FAS) Username: bokic


Reproducible: Always

Comment 1 Artur Frenszek-Iwicki 2026-09-11 13:26:18 UTC
> BuildRequires:  pcre2-devel
> BuildRequires:  json-c-devel
> BuildRequires:  gtest-devel
Consider using "BuildRequires: pkgconfig(libpcre2-32) pkgconfig(json-c) pkgconfig(gtest)" instead.

> %files -n libtextparser
> %{_libdir}/libtextparser.so.*
Don't. This makes it easy to miss a SONAME bump happening.
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_listing_shared_library_files

Also, since you're splitting the libs into libtextparser and libtextparser-json, might be worth to add
"Provides: libtextparser-json-devel%{?_isa} = %{version}-%{release}" to the -devel package.

Comment 2 Benson Muite 2026-09-20 10:55:32 UTC
Consider implementing the above suggestions.  Building the examples is also a
good way to check things work.

Please add a patch to enable using system GTest as done in:
https://github.com/bokic/textparser/blob/master/tests/unittests/CMakeLists.txt#L8

A Koji build that also checks whether the examples build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=150431869

The version check test seems to fail.

Comment 3 Benson Muite 2026-09-20 10:57:00 UTC
Additional tests fail on s390x:
https://kojipkgs.fedoraproject.org//work/tasks/1969/150431969/build.log

Comment 4 Boris 2026-09-22 09:57:40 UTC
I plan to tag 1.1.0 first, then update the .spec to include all corrections/suggestions. Should be in the following days.

Will write back soon with changes.


Note You need to log in before you can comment on or make changes to this bug.