diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-February/002632.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-February/002632.html | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-February/002632.html b/zarb-ml/mageia-sysadm/2011-February/002632.html new file mode 100644 index 000000000..95ffba2f9 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-February/002632.html @@ -0,0 +1,109 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [488] Allow submitting drakx-installer-images where BuildRequires version is in the name + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B488%5D%20Allow%20submitting%20drakx-installer-images%20where%0A%20BuildRequires%20version%20is%20in%20the%20name&In-Reply-To=%3C20110208131353.60195404DA%40valstar.mageia.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="002631.html"> + <LINK REL="Next" HREF="002633.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [488] Allow submitting drakx-installer-images where BuildRequires version is in the name</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B488%5D%20Allow%20submitting%20drakx-installer-images%20where%0A%20BuildRequires%20version%20is%20in%20the%20name&In-Reply-To=%3C20110208131353.60195404DA%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [488] Allow submitting drakx-installer-images where BuildRequires version is in the name">root at mageia.org + </A><BR> + <I>Tue Feb 8 14:13:53 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="002631.html">[Mageia-sysadm] [487] Import cleaned drakmenustyle +</A></li> + <LI>Next message: <A HREF="002633.html">[Mageia-sysadm] [489] Revert, the package was actually wrong +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2632">[ date ]</a> + <a href="thread.html#2632">[ thread ]</a> + <a href="subject.html#2632">[ subject ]</a> + <a href="author.html#2632">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Revision: 488 +Author: pterjan +Date: 2011-02-08 14:13:52 +0100 (Tue, 08 Feb 2011) +Log Message: +----------- +Allow submitting drakx-installer-images where BuildRequires version is in the name + +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 00:31:17 UTC (rev 487) ++++ build_system/mdv-youri-submit/trunk/lib/Youri/Submit/Check/Deps.pm 2011-02-08 13:13:52 UTC (rev 488) +@@ -45,10 +45,23 @@ + } + $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] . " " . $require->[Youri::Package::DEPENDENCY_RANGE]); + } + return @errors; + } +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20110208/ed402188/attachment.html> +</PRE> + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="002631.html">[Mageia-sysadm] [487] Import cleaned drakmenustyle +</A></li> + <LI>Next message: <A HREF="002633.html">[Mageia-sysadm] [489] Revert, the package was actually wrong +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2632">[ date ]</a> + <a href="thread.html#2632">[ thread ]</a> + <a href="subject.html#2632">[ subject ]</a> + <a href="author.html#2632">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |