Fedora Account System
Red Hat Associate
Red Hat Customer
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
> 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.
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.
Additional tests fail on s390x: https://kojipkgs.fedoraproject.org//work/tasks/1969/150431969/build.log
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.