[Rpm-maint] [rpm-software-management/rpm] Spurious debug output in rpmspec query if a buildsystem is used (Issue #3574)

Michael Schroeder notifications at github.com
Thu Feb 13 13:38:11 UTC 2025


There is a `Reading...` line in the query output if a buildsystem is used:
```
$ rpmspec -q --srpm --requires /.build.packages/SOURCES/gnome-calculator.spec
Reading /var/tmp/rpm-tmp.2tNKgo
fdupes
itstool
meson >= 0.52.0
mpc-devel
mpfr-devel
rpm_macro(meson_buildrequires)
vala
```

This message is printed by parseSpecParts(), called from  parseBuildsystem(). The easiest fix is probably to not print the notice if stage == PARSE_BUILDSYS.
But maybe parseBuildsystem() should not call parseSpecParts() at all, because the filename is fixed and no globbing should be done.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3574
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/3574 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250213/cfe88a43/attachment.htm>


More information about the Rpm-maint mailing list