summaryrefslogtreecommitdiff
path: root/perl-RPM2
diff options
context:
space:
mode:
Diffstat (limited to 'perl-RPM2')
-rw-r--r--perl-RPM2/RPM2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-RPM2/RPM2.pm b/perl-RPM2/RPM2.pm
index 28ef15f45..7eeed18bb 100644
--- a/perl-RPM2/RPM2.pm
+++ b/perl-RPM2/RPM2.pm
@@ -364,7 +364,7 @@ RPM2 - Perl bindings for the RPM Package Manager API
print $pkg->as_nvre, "\n";
}
- my $pkg = RPM2->open_package_file("/tmp/XFree86-4.1.0-15.src.rpm");
+ my $pkg = RPM2->open_package("/tmp/XFree86-4.1.0-15.src.rpm");
print "Package opened: ", $pkg->as_nvre(), ", is source: ", $pkg->is_source_package, "\n";
=head1 DESCRIPTION