Skip to content

Commit

Permalink
Don't emit target build into on --quiet
Browse files Browse the repository at this point in the history
Kinda related to 1261b41,
quiet means quiet and since this isn't using rpmlog() we need to filter
manually.
  • Loading branch information
pmatilai committed May 6, 2024
1 parent dde4fe5 commit b2058ce
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tools/rpmbuild.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,16 +549,17 @@ static int build(rpmts ts, const char * arg, BTA_t ba, const char * rcfile)
}

/* parse up the build operators */

fprintf(stderr, _("Building target platforms: %s\n"), targets);
if (!quiet)
fprintf(stderr, _("Building target platforms: %s\n"), targets);

ba->buildAmount &= ~buildCleanMask;
for (ARGV_const_t target = build_targets; target && *target; target++) {
/* Perform clean-up after last target build. */
if (*(target + 1) == NULL)
ba->buildAmount |= cleanFlags;

fprintf(stderr, _("Building for target %s\n"), *target);
if (!quiet)
fprintf(stderr, _("Building for target %s\n"), *target);

/* Read in configuration for target. */
rpmFreeMacros(NULL);
Expand Down

0 comments on commit b2058ce

Please sign in to comment.