[packages/rpm-specdump] - restore missing initializer - rel 2

baggins baggins at pld-linux.org
Mon Oct 19 15:54:26 CEST 2020


commit 5f989e813f53da80ee95e8745f93e6e56f1e1a27
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Oct 19 15:54:13 2020 +0200

    - restore missing initializer
    - rel 2

 rpm-specdump.c    | 2 +-
 rpm-specdump.spec | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rpm-specdump.spec b/rpm-specdump.spec
index cc5ccea..16f0f00 100644
--- a/rpm-specdump.spec
+++ b/rpm-specdump.spec
@@ -2,7 +2,7 @@ Summary:	Print RPM dump of specfile
 Summary(pl.UTF-8):	Narzędzie wypisujące RPM-owy zrzut pliku spec
 Name:		rpm-specdump
 Version:	0.7
-Release:	1
+Release:	2
 License:	GPL
 Group:		Applications/System
 Source0:	%{name}.c
diff --git a/rpm-specdump.c b/rpm-specdump.c
index fcc7b96..e0067a2 100644
--- a/rpm-specdump.c
+++ b/rpm-specdump.c
@@ -310,7 +310,7 @@ Spec s;
 	}
 
 	s = rpmtsSpec(ts);
-
+	initSourceHeader(s, NULL);
 	Header h = s->sourceHeader;
 	HE_t he;
 #endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-specdump.git/commitdiff/5f989e813f53da80ee95e8745f93e6e56f1e1a27



More information about the pld-cvs-commit mailing list