aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2009-01-12 08:03:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2009-01-12 08:03:00 +0000
commite5d9565d0cff3910002e3a920bd1a527eb2c1f82 (patch)
treeb749078132541a2a2da831a61e63dd381b21dece /URPM.pm
parent15c2a514bb9000761c40f060787a082a4ff238ab (diff)
downloadperl-URPM-e5d9565d0cff3910002e3a920bd1a527eb2c1f82.tar
perl-URPM-e5d9565d0cff3910002e3a920bd1a527eb2c1f82.tar.gz
perl-URPM-e5d9565d0cff3910002e3a920bd1a527eb2c1f82.tar.bz2
perl-URPM-e5d9565d0cff3910002e3a920bd1a527eb2c1f82.tar.xz
perl-URPM-e5d9565d0cff3910002e3a920bd1a527eb2c1f82.zip
- drop parse_rpms (unused, parse_rpms_build_headers or parse_rpm are used instead)
- add a comment
Diffstat (limited to 'URPM.pm')
-rw-r--r--URPM.pm8
1 files changed, 2 insertions, 6 deletions
diff --git a/URPM.pm b/URPM.pm
index 194ecfa..afec11a 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -174,6 +174,8 @@ sub traverse_tag {
$count;
}
+# wrapper around XS functions
+# it handles error cases
sub _parse_hdlist_or_synthesis {
my ($parse_func, $urpm, $file, %options) = @_;
@@ -341,12 +343,6 @@ file and adds them to the URPM object. Allowed options are
The return value is a two-element array containing the first and the last id
parsed.
-=item $urpm->parse_rpms($files, %options)
-
-This method loads rpm informations from rpm headers and adds them to the URPM
-object. The return value is a two-element array containing the first and the
-last id parsed.
-
=item $urpm->parse_rpm($file, %options)
This method gets the B<depslist> and the B<provides> from an RPM file