From b1df4d587fb03dcaedd7e8f29fbe5b7265ea5638 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko 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 --- 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