[Mageia-sysadm] [489] Revert, the package was actually wrong
root at mageia.org
root at mageia.org
Tue Feb 8 14:30:15 CET 2011
Revision: 489
Author: pterjan
Date: 2011-02-08 14:30:15 +0100 (Tue, 08 Feb 2011)
Log Message:
-----------
Revert, the package was actually wrong
Modified Paths:
--------------
build_system/mdv-youri-submit/trunk/lib/Youri/Submit/Check/Deps.pm
Modified: build_system/mdv-youri-submit/trunk/lib/Youri/Submit/Check/Deps.pm
===================================================================
--- build_system/mdv-youri-submit/trunk/lib/Youri/Submit/Check/Deps.pm 2011-02-08 13:13:52 UTC (rev 488)
+++ build_system/mdv-youri-submit/trunk/lib/Youri/Submit/Check/Deps.pm 2011-02-08 13:30:15 UTC (rev 489)
@@ -45,23 +45,10 @@
}
$notfound;
} @requires;
- # Try to handle BuildRequires: kernel-server-2.6.37-3.mga-1-1.mga1
- @requires = grep {
- my $require = $_;
- my $notfound = 1;
- if (!$require->[Youri::Package::DEPENDENCY_RANGE] &&
- $require->[Youri::Package::DEPENDENCY_NAME] =~ /-/) {
- foreach my $provide (@provides) {
- next unless $require->[Youri::Package::DEPENDENCY_NAME] =~ /^$provide->[Youri::Package::DEPENDENCY_NAME]-/;
- $notfound = 0;
- }
- }
- $notfound;
- } @requires;
};
$media->traverse_headers($index);
foreach my $require (@requires) {
- push (@errors, "Unresolved dep on " . $require->[Youri::Package::DEPENDENCY_NAME] . " " . $require->[Youri::Package::DEPENDENCY_RANGE]);
+ push (@errors, "Unresolved dep on " . $require->[Youri::Package::DEPENDENCY_NAME]);
}
return @errors;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110208/8830ab07/attachment.html>
More information about the Mageia-sysadm
mailing list