make_rpm: suppress unconditional debug prints (#892)

these look like they were left in accidentally, and they muck up build
output pretty significantly as-is.
This commit is contained in:
peter woodman 2024-09-16 07:21:04 -06:00 committed by GitHub
parent df9f345aa2
commit 25fd41cbe2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -462,14 +462,14 @@ class RpmBuilder(object):
subrpms_seen.add(subrpm_name)
shutil.copy(p, subrpm_out_file)
is_subrpm = True
if self.debug or True:
if self.debug:
print('Saved %s sub RPM file to %s' % (
subrpm_name, subrpm_out_file))
break
if not is_subrpm:
shutil.copy(p, out_file)
if self.debug or True:
if self.debug:
print('Saved RPM file to %s' % out_file)
else:
print('No RPM file created.')