aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
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
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')
-rw-r--r--URPM/Build.pm18
1 files changed, 0 insertions, 18 deletions
diff --git a/URPM/Build.pm b/URPM/Build.pm
index f7e639b..bd569de 100644
--- a/URPM/Build.pm
+++ b/URPM/Build.pm
@@ -141,24 +141,6 @@ sub parse_headers {
defined $id ? ($start, $id) : @{[]};
}
-# parse_rpms, same behaviour than parse_{hdlist, synthesis}
-# ie: ($start, $end) = parse_*(filestoparse, %options);
-
-sub parse_rpms {
- my ($urpm, $rpms, %options) = @_;
- my ($start, $end);
- $urpm->parse_rpms_build_headers(
- rpms => $rpms,
- %options,
- callback => sub {
- my (undef, $id) = @_;
- $start = $id if $start > $id || ! defined($start);
- $end = $id if $end < $id || ! defined($end);
- }
- ) ? ($start, $end) : ();
-}
-
-
# DEPRECATED. ONLY USED BY MKCD
#- compute dependencies, result in stored in info values of urpm.
#- operations are incremental, it is possible to read just one hdlist, compute