templates: fix double-commentization of source and patch file comments

This commit is contained in:
Fabio Valentini 2024-05-16 11:26:52 +02:00
parent 5e9b7b91fa
commit 0a2810ed0c
No known key found for this signature in database
GPG key ID: 5AC5F572E5D410AF
3 changed files with 12 additions and 12 deletions

View file

@ -68,8 +68,8 @@ Source: %{crates_source}
Source: {{ rpm_vendor_source }}
{% endif %}
{% for source in rpm_extra_sources %}
{% for comment in source.comment_lines %}
# {{ comment }}
{% for comment_line in source.comment_lines %}
{{ comment_line }}
{% endfor %}
Source{{ source.number }}:{{ source.whitespace }}{{ source.file }}
{% endfor %}
@ -89,8 +89,8 @@ Patch: {{ rpm_patch_file_automatic }}
Patch: {{ rpm_patch_file_manual }}
{% endif %}
{% for patch in rpm_extra_patches %}
{% for comment in patch.comment_lines %}
# {{ comment }}
{% for comment_line in patch.comment_lines %}
{{ comment_line }}
{% endfor %}
Patch{{ patch.number }}:{{ patch.whitespace }}{{ patch.file }}
{% endfor %}

View file

@ -55,8 +55,8 @@ Source: {{ rpm_source_url }}
Source: {{ rpm_vendor_source }}
{% endif %}
{% for source in rpm_extra_sources %}
{% for comment in source.comment_lines %}
# {{ comment }}
{% for comment_line in source.comment_lines %}
{{ comment_line }}
{% endfor %}
Source{{ source.number }}:{{ source.whitespace }}{{ source.file }}
{% endfor %}
@ -76,8 +76,8 @@ Patch: {{ rpm_patch_file_automatic }}
Patch: {{ rpm_patch_file_manual }}
{% endif %}
{% for patch in rpm_extra_patches %}
{% for comment in patch.comment_lines %}
# {{ comment }}
{% for comment_line in patch.comment_lines %}
{{ comment_line }}
{% endfor %}
Patch{{ patch.number }}:{{ patch.whitespace }}{{ patch.file }}
{% endfor %}

View file

@ -46,14 +46,14 @@ Source: {{ rpm_source_url }}
Source: {{ rpm_vendor_source }}
{% endif %}
{% for source in rpm_extra_sources %}
{% for comment in source.comment_lines %}
# {{ comment }}
{% for comment_line in source.comment_lines %}
{{ comment_line }}
{% endfor %}
Source{{ source.number }}:{{ source.whitespace }}{{ source.file }}
{% endfor %}
{% for patch in rpm_extra_patches %}
{% for comment in patch.comment_lines %}
# {{ comment }}
{% for comment_line in patch.comment_lines %}
{{ comment_line }}
{% endfor %}
Patch{{ patch.number }}:{{ patch.whitespace }}{{ patch.file }}
{% endfor %}