diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-04-22 14:14:34 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-04-22 14:14:34 +0000 |
commit | 30789fabed29489bb3b774c62b7283abf021294a (patch) | |
tree | 8ceb84c6a117ca2624b0b47a2e384562ccffb195 | |
parent | 303c1a457e142968d06ac966705dfc58dca32e44 (diff) | |
download | perl-URPM-30789fabed29489bb3b774c62b7283abf021294a.tar perl-URPM-30789fabed29489bb3b774c62b7283abf021294a.tar.gz perl-URPM-30789fabed29489bb3b774c62b7283abf021294a.tar.bz2 perl-URPM-30789fabed29489bb3b774c62b7283abf021294a.tar.xz perl-URPM-30789fabed29489bb3b774c62b7283abf021294a.zip |
Better diagnostics in $package->build_info()
-rw-r--r-- | URPM.xs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2400,7 +2400,8 @@ Pkg_build_info(pkg, fileno, provides_files=NULL) } size = snprintf(buff, sizeof(buff), "@info@%s\n", pkg->info); write(fileno, buff, size); - } else croak("no info available for package"); + } else croak("no info available for package %s", + pkg->h ? get_name(pkg->h, RPMTAG_NAME) : "-"); void Pkg_build_header(pkg, fileno) |