Author: glen                         Date: Sat Jan 26 22:35:42 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- always call initSourceHeader. fixes rpm 4.4.9

---- Files affected:
SOURCES:
   rpm-specdump.c (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SOURCES/rpm-specdump.c
diff -u SOURCES/rpm-specdump.c:1.9 SOURCES/rpm-specdump.c:1.10
--- SOURCES/rpm-specdump.c:1.9  Wed Jan 23 17:42:14 2008
+++ SOURCES/rpm-specdump.c      Sat Jan 26 23:35:37 2008
@@ -285,13 +285,11 @@
        // here starts the code for builder
        const char *name = NULL, *version = NULL, *release = NULL;
 
-       if (s->sourceHeader == NULL) {
 #if RPM_VERSION_CODE >= RPM_VERSION(4,4,9)
-               initSourceHeader(s, NULL);
+       initSourceHeader(s, NULL);
 #else
-               initSourceHeader(s);
+       initSourceHeader(s);
 #endif
-       }
        Header h = s->sourceHeader;
 
        if (
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm-specdump.c?r1=1.9&r2=1.10&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to