diff options
-rw-r--r-- | parsehdlist.c | 2 | ||||
-rw-r--r-- | rpmtools.spec | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/parsehdlist.c b/parsehdlist.c index 62cdeb4..46bfe6b 100644 --- a/parsehdlist.c +++ b/parsehdlist.c @@ -2,6 +2,7 @@ #include <sys/wait.h> #include <sys/stat.h> #include <fcntl.h> +#include <signal.h> #include <errno.h> #include <rpm/rpmlib.h> #include <rpm/header.h> @@ -334,6 +335,7 @@ int main(int argc, char **argv) } fdClose(fd); if (pid) { + kill(pid, SIGTERM); waitpid(pid, NULL, 0); pid = 0; } diff --git a/rpmtools.spec b/rpmtools.spec index e7c4114..07b08ac 100644 --- a/rpmtools.spec +++ b/rpmtools.spec @@ -1,5 +1,5 @@ %define name rpmtools -%define release 8mdk +%define release 9mdk # do not modify here, see Makefile in the CVS %define version 2.3 @@ -51,6 +51,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/perl5/man/*/* %changelog +* Wed Mar 7 2001 François Pons <fpons@mandrakesoft.com> 2.3-9mdk +- make sure parsehdlist exit correctly. + * Mon Mar 5 2001 François Pons <fpons@mandrakesoft.com> 2.3-8mdk - added requires on db2 and db3. |