generator: correctly mark warning about missing license as comment

This commit is contained in:
Fabio Valentini 2023-09-24 23:28:43 +02:00
parent be5b992f24
commit 6cb6cc3f78
No known key found for this signature in database
GPG key ID: 5AC5F572E5D410AF

View file

@ -187,7 +187,7 @@ def spec_render_crate(
else:
log.warn("No license information in crate metadata.")
rpm_license = None
rpm_license_comments = "FIXME: No license information in crate metadata."
rpm_license_comments = "# FIXME: No license information in crate metadata."
template_args_common = {
# Parameters specific to rust2rpm