diff options
Diffstat (limited to 'zarb-ml/mageia-dev/20110117/002210.html')
-rw-r--r-- | zarb-ml/mageia-dev/20110117/002210.html | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110117/002210.html b/zarb-ml/mageia-dev/20110117/002210.html new file mode 100644 index 000000000..f10291537 --- /dev/null +++ b/zarb-ml/mageia-dev/20110117/002210.html @@ -0,0 +1,104 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Importing RPM Spec File Syntax + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Importing%20RPM%20Spec%20File%20Syntax&In-Reply-To=%3C4D34BD88.40609%40colin.guthr.ie%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="002209.html"> + <LINK REL="Next" HREF="002211.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Importing RPM Spec File Syntax</H1> + <B>Colin Guthrie</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Importing%20RPM%20Spec%20File%20Syntax&In-Reply-To=%3C4D34BD88.40609%40colin.guthr.ie%3E" + TITLE="[Mageia-dev] Importing RPM Spec File Syntax">mageia at colin.guthr.ie + </A><BR> + <I>Mon Jan 17 23:07:04 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="002209.html">[Mageia-dev] Importing RPM Spec File Syntax +</A></li> + <LI>Next message: <A HREF="002211.html">[Mageia-dev] Importing RPM Spec File Syntax +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2210">[ date ]</a> + <a href="thread.html#2210">[ thread ]</a> + <a href="subject.html#2210">[ subject ]</a> + <a href="author.html#2210">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>'Twas brillig, and Florian Hubold at 17/01/11 21:53 did gyre and gimble: +><i> Am 15.01.2011 11:08, schrieb Remy CLOUARD: +</I>>><i> <A HREF="http://mageia.org/wiki/doku.php?id=spec_syntax">http://mageia.org/wiki/doku.php?id=spec_syntax</A> +</I>>><i> +</I>>><i> Please review this page as it’s one of the most important one for the +</I>>><i> beginning of the mentoring process, with the RPM Howto page (yet to be +</I>>><i> imported). +</I>><i> +</I>><i> I have one comment, or more of a question: Why is it that some time ago +</I>><i> there used to be this syntax as de-facto standard: +</I>><i> +</I>><i> %define name +</I>><i> Name: %name +</I>><i> +</I>><i> Never understood this, so i went with what seems the new standard, +</I>><i> which saves you at least 3 lines per spec and improving readability. +</I>><i> +</I>><i> So anyone can enlighten me why name, release and version had %defines? +</I> +I think the general reason was that you quite often want to use %name in +other places too. e.g. Obsoletes: %name-redundant-old-subpackage + +Ditto for %version. + +While you can use these without %defining them (just by virtue of them +being the Name: or Version: etc., I think it's more declarative and +deterministic to define them. + +There could be other reasons too (e.g. update scripts?) and also just to +keep the critical things right at the top of the file for easy access. + +Other than that I can't think of any reasons. + +Col + + +-- + +Colin Guthrie +mageia(at)colin.guthr.ie +<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A> + +Day Job: + Tribalogic Limited [<A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>] +Open Source: + Mageia Contributor [<A HREF="http://www.mageia.org/">http://www.mageia.org/</A>] + PulseAudio Hacker [<A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>] + Trac Hacker [<A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>] +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="002209.html">[Mageia-dev] Importing RPM Spec File Syntax +</A></li> + <LI>Next message: <A HREF="002211.html">[Mageia-dev] Importing RPM Spec File Syntax +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2210">[ date ]</a> + <a href="thread.html#2210">[ thread ]</a> + <a href="subject.html#2210">[ subject ]</a> + <a href="author.html#2210">[ 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> |