aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-01-24 09:39:13 +0000
committerFrancois Pons <fpons@mandriva.com>2002-01-24 09:39:13 +0000
commit6c9afc93b0181d4e29c9a2dcb23d5760dfe02c2e (patch)
treede81e99779044b6f6198eea513589fbf6b4b0f9d
parentb086eb0cb9b6ffeee0f04bf991d5420640d7b784 (diff)
downloadrpmtools-6c9afc93b0181d4e29c9a2dcb23d5760dfe02c2e.tar
rpmtools-6c9afc93b0181d4e29c9a2dcb23d5760dfe02c2e.tar.gz
rpmtools-6c9afc93b0181d4e29c9a2dcb23d5760dfe02c2e.tar.bz2
rpmtools-6c9afc93b0181d4e29c9a2dcb23d5760dfe02c2e.tar.xz
rpmtools-6c9afc93b0181d4e29c9a2dcb23d5760dfe02c2e.zip
4.1-2mdk
-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");