Skip to content

Comments for dynamically read spec parts missing from RPMTAG_SPEC #3574

Open
@mlschroe

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status

      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions