aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packdrake-pm/packdrake.pm4
-rw-r--r--rpmtools.spec5
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 <fpons@mandrakesoft.com> 4.5-8mdk
+- fixed bug 414.
+
* Fri Dec 6 2002 Pixel <pixel@mandrakesoft.com> 4.5-7mdk
- fix a bug in an error message (as detected by perl_checker)