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.
diff --git a/pkg/make_rpm.py b/pkg/make_rpm.py
index c5a1f7d..3e1a3f7 100644
--- a/pkg/make_rpm.py
+++ b/pkg/make_rpm.py
@@ -462,14 +462,14 @@
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.')