templates: fix double-commentization of source and patch file comments
This commit is contained in:
parent
5e9b7b91fa
commit
0a2810ed0c
3 changed files with 12 additions and 12 deletions
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue