summaryrefslogtreecommitdiffstats
path: root/RPM4/examples/hbuildspec
diff options
context:
space:
mode:
authornanardon <nanardon@971eb68f-4bfb-0310-8326-d2484c010a4c>2005-10-08 17:31:44 +0000
committernanardon <nanardon@971eb68f-4bfb-0310-8326-d2484c010a4c>2005-10-08 17:31:44 +0000
commit4c9b180f05693f3e9261914d2b7360789344e2c0 (patch)
treebfe8e645b8594ddd0b41c2449627693c0693c20d /RPM4/examples/hbuildspec
parent297cd66d7ba0ab41beb08897af99b963d2cb18d9 (diff)
downloadperl-RPM4-4c9b180f05693f3e9261914d2b7360789344e2c0.tar
perl-RPM4-4c9b180f05693f3e9261914d2b7360789344e2c0.tar.gz
perl-RPM4-4c9b180f05693f3e9261914d2b7360789344e2c0.tar.bz2
perl-RPM4-4c9b180f05693f3e9261914d2b7360789344e2c0.tar.xz
perl-RPM4-4c9b180f05693f3e9261914d2b7360789344e2c0.zip
- code was still using Hdlist :\
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@42 971eb68f-4bfb-0310-8326-d2484c010a4c
Diffstat (limited to 'RPM4/examples/hbuildspec')
-rwxr-xr-xRPM4/examples/hbuildspec6
1 files changed, 3 insertions, 3 deletions
diff --git a/RPM4/examples/hbuildspec b/RPM4/examples/hbuildspec
index d0204db..ae26bbd 100755
--- a/RPM4/examples/hbuildspec
+++ b/RPM4/examples/hbuildspec
@@ -19,7 +19,7 @@
# $Id$
use strict;
-use Hdlist;
+use RPM4;
use Getopt::Long;
(@ARGV) or die
@@ -28,10 +28,10 @@ Give rpms filename produce by a specfile
";
foreach (@ARGV) {
- my $spec = Hdlist::specnew($_);
+ my $spec = RPM4::specnew($_);
my @err = $spec->check();
if (@err) {
- foreach (Hdlist::print_rpmpb(@err)) {
+ foreach (RPM4::print_rpmpb(@err)) {
print "\t$_\n";
}
} else {