From 7bb571505fdd3267b7446e9642ba0d2235e50292 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 20 Feb 2003 15:54:12 +0000 Subject: 4.5-8mdk --- packdrake-pm/packdrake.pm | 4 ++-- rpmtools.spec | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packdrake-pm/packdrake.pm b/packdrake-pm/packdrake.pm index 8e39f46..971f260 100644 --- a/packdrake-pm/packdrake.pm +++ b/packdrake-pm/packdrake.pm @@ -229,7 +229,7 @@ sub cat_compress { } close FILE; } - close F; + close F or die "packdrake: unable to compress data using \"$packer->{compress}\"\n"; -s $packer->{tmpz}; } @@ -505,7 +505,7 @@ sub build_archive { print OUTPUT $toc_str; print OUTPUT $toc_data; print OUTPUT build_toc_trailer($packer); - close OUTPUT; + close OUTPUT or die "packdrake: unable to build toc trailer of $packer->{archive}\n"; unlink $packer->{tmpz}; diff --git a/rpmtools.spec b/rpmtools.spec index 0728ab6..e903c66 100644 --- a/rpmtools.spec +++ b/rpmtools.spec @@ -1,5 +1,5 @@ %define name rpmtools -%define release 7mdk +%define release 8mdk # do not modify here, see Makefile in the CVS %define version 4.5 @@ -55,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/*/* %changelog +* Thu Feb 20 2003 François Pons 4.5-8mdk +- fixed bug 414. + * Fri Dec 6 2002 Pixel 4.5-7mdk - fix a bug in an error message (as detected by perl_checker) -- cgit v1.2.1