summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pm/MGATools/rpmsrate.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/pm/MGATools/rpmsrate.pm b/pm/MGATools/rpmsrate.pm
index 190dd42..e899fb8 100644
--- a/pm/MGATools/rpmsrate.pm
+++ b/pm/MGATools/rpmsrate.pm
@@ -106,6 +106,7 @@ sub cleanrpmsrate {
my $pkg;
$pkg = $urpm->{rpm}{$urpm->{rpmkey}{key}{$key}} if ref $urpm;
+ # if package is not urpmi' synthesis, try to parse it directly:
if (!$pkg) {
my $id = $urpm2->parse_rpm("$dir/$rpm");
$pkg = $urpm2->{depslist}[$id];