You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-packaging/0001-templates-Do-not-put-e...

27 lines
777 B

From b1df4d587fb03dcaedd7e8f29fbe5b7265ea5638 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date: Mon, 6 May 2019 10:43:05 +0200
Subject: [PATCH 01/14] templates: Do not put empty line after %changelog
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
rust2rpm/templates/main.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/rust2rpm/templates/main.spec b/rust2rpm/templates/main.spec
index dcd24ca..0c84325 100644
--- a/rust2rpm/templates/main.spec
+++ b/rust2rpm/templates/main.spec
@@ -183,6 +183,7 @@ echo {{ "%r"|format(req) }}
%endif
%changelog
-{% if auto_changelog_entry %}
+{%- if auto_changelog_entry %}
+
{% include target ~ "-changelog.spec.inc" %}
{% endif %}
--
2.22.0.rc3