aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpmtools.spec5
-rw-r--r--rpmtools.xs2
2 files changed, 6 insertions, 1 deletions
diff --git a/rpmtools.spec b/rpmtools.spec
index ce93322..683cae9 100644
--- a/rpmtools.spec
+++ b/rpmtools.spec
@@ -1,5 +1,5 @@
%define name rpmtools
-%define release 1mdk
+%define release 2mdk
# do not modify here, see Makefile in the CVS
%define version 4.1
@@ -54,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/perl5/man/*/*
%changelog
+* Thu Jan 24 2002 François Pons <fpons@mandrakesoft.com> 4.1-2mdk
+- fixed wrong _parse_ or rpm file.
+
* Tue Jan 22 2002 François Pons <fpons@mandrakesoft.com> 4.1-1mdk
- added write_synthesis_hdlist function to handle synthesis file.
- gendistrib now build good synthesis file in Mandrake/base
diff --git a/rpmtools.xs b/rpmtools.xs
index 975ad89..7543e4c 100644
--- a/rpmtools.xs
+++ b/rpmtools.xs
@@ -552,6 +552,8 @@ _parse_(fileno_or_rpmfile, flag, info, ...)
/* continue loop for hdlist */
if (fd_is_hdlist)
header=headerRead(fd, HEADER_MAGIC_YES);
+ else
+ header=0;
}
fdClose(fd);
} else croak("bad arguments list");