aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Build.pm
diff options
context:
space:
mode:
Diffstat (limited to 'URPM/Build.pm')
-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