<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <TITLE> [Mageia-dev] %{foo} vs. %foo </TITLE> <LINK REL="Index" HREF="index.html" > <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%25%7Bfoo%7D%20vs.%20%25foo&In-Reply-To=%3CCAJZLoOzt7X1SjqciFGLsG4H-ePUhG06E-K1QXp7JymgT-vxFgg%40mail.gmail.com%3E"> <META NAME="robots" CONTENT="index,nofollow"> <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> <LINK REL="Previous" HREF="007411.html"> <LINK REL="Next" HREF="007414.html"> </HEAD> <BODY BGCOLOR="#ffffff"> <H1>[Mageia-dev] %{foo} vs. %foo</H1> <B>Zé</B> <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%25%7Bfoo%7D%20vs.%20%25foo&In-Reply-To=%3CCAJZLoOzt7X1SjqciFGLsG4H-ePUhG06E-K1QXp7JymgT-vxFgg%40mail.gmail.com%3E" TITLE="[Mageia-dev] %{foo} vs. %foo">mmodem00 at gmail.com </A><BR> <I>Mon Aug 22 00:16:24 CEST 2011</I> <P><UL> <LI>Previous message: <A HREF="007411.html">[Mageia-dev] jgraphx downgrade </A></li> <LI>Next message: <A HREF="007414.html">[Mageia-dev] %{foo} vs. %foo </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#7413">[ date ]</a> <a href="thread.html#7413">[ thread ]</a> <a href="subject.html#7413">[ subject ]</a> <a href="author.html#7413">[ author ]</a> </LI> </UL> <HR> <!--beginarticle--> <PRE>Hi, Theres been a private discussion regarding the macro correct layout, if %{foo} or %foo. This rised when in the wiki page <A HREF="http://mageia.org/wiki/doku.php?id=kde4_packaging_policy">http://mageia.org/wiki/doku.php?id=kde4_packaging_policy</A> i changed the spec layout from %foo into %{foo} to be as a reference point, in wich mikala has reverted back to %foo, and this discussion has taken other porportions so i would like your opinions regarding this. I have pointed that for a wiki page should be proper to use %{...} to avoid doubts specially in beginners minds, since in some situations we need really to use the {} delimitations. In wich its recommendation its focused in this cute PDF from redhat website: <A HREF="http://www.redhat.com/promo/summit/2008/downloads/pdf/Wednesday_130pm_Tom_Callaway_OSS.pdf">http://www.redhat.com/promo/summit/2008/downloads/pdf/Wednesday_130pm_Tom_Callaway_OSS.pdf</A> Im not refering that now we should use only %{...}, that usage can be handled from the user prespective (for example in my specs locally i generally dont use delimitations), some like others dont. As we also see in rpm macros document <A HREF="http://www.rpm.org/wiki/PackagerDocs/Macros">http://www.rpm.org/wiki/PackagerDocs/Macros</A> that we can use both, but in all rpm docs and config files the common usage its with delimitations. regards, -- Zé -------------- next part -------------- An HTML attachment was scrubbed... URL: </pipermail/mageia-dev/attachments/20110821/bbd8a663/attachment-0001.html> </PRE> <!--endarticle--> <HR> <P><UL> <!--threads--> <LI>Previous message: <A HREF="007411.html">[Mageia-dev] jgraphx downgrade </A></li> <LI>Next message: <A HREF="007414.html">[Mageia-dev] %{foo} vs. %foo </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#7413">[ date ]</a> <a href="thread.html#7413">[ thread ]</a> <a href="subject.html#7413">[ subject ]</a> <a href="author.html#7413">[ author ]</a> </LI> </UL> <hr> <a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev mailing list</a><br> </body></html>