summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110119/002235.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/20110119/002235.html')
-rw-r--r--zarb-ml/mageia-dev/20110119/002235.html107
1 files changed, 107 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110119/002235.html b/zarb-ml/mageia-dev/20110119/002235.html
new file mode 100644
index 000000000..ab2b74c46
--- /dev/null
+++ b/zarb-ml/mageia-dev/20110119/002235.html
@@ -0,0 +1,107 @@
+<!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=%3C4D36ADBA.9000408%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="002234.html">
+ <LINK REL="Next" HREF="002236.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=%3C4D36ADBA.9000408%40colin.guthr.ie%3E"
+ TITLE="[Mageia-dev] Importing RPM Spec File Syntax">mageia at colin.guthr.ie
+ </A><BR>
+ <I>Wed Jan 19 10:24:10 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="002234.html">[Mageia-dev] Importing RPM Spec File Syntax
+</A></li>
+ <LI>Next message: <A HREF="002236.html">[Mageia-dev] Importing RPM Spec File Syntax
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2235">[ date ]</a>
+ <a href="thread.html#2235">[ thread ]</a>
+ <a href="subject.html#2235">[ subject ]</a>
+ <a href="author.html#2235">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>'Twas brillig, and Oliver Burger at 19/01/11 08:07 did gyre and gimble:
+&gt;<i> Luca Berra &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">bluca at vodka.it</A>&gt; schrieb am 2011-01-19
+</I>&gt;&gt;<i> &quot;Name: foo&quot;
+</I>&gt;&gt;<i> appers to be working
+</I>&gt;&gt;<i> in rpm 4.6 &quot;Version: foo&quot; is totally borked, dunno with rpm 5
+</I>&gt;&gt;<i> this is why i will continue on using macros for version and
+</I>&gt;&gt;<i> release. %define myver 1.0
+</I>&gt;&gt;<i> %define myrel %mkrel 1
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Name: foo
+</I>&gt;&gt;<i> Version: %myver
+</I>&gt;&gt;<i> Release: %myrel
+</I>&gt;<i>
+</I>&gt;<i> Can't follow you there: what is or is not working with
+</I>&gt;<i> &quot;Version: foo&quot; or &quot;Release: %mkrel foo&quot;?
+</I>
+I think he's saying that if you do this:
+ Name: foo
+then you can subsequently use %name elsewhere in the spec and all will
+be well.
+
+But if you use:
+ Version: 1.0
+then you cannot use %version elsewhere in the spec.
+
+So defining it manually is the best way to do it so it can be used
+elsewhere.
+
+However, I could not replicate that here on my pre-RPM5 cooker box.
+Using the version with the tag and using %version worked just fine. So I
+think I have misinterpreted too :s
+
+
+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="002234.html">[Mageia-dev] Importing RPM Spec File Syntax
+</A></li>
+ <LI>Next message: <A HREF="002236.html">[Mageia-dev] Importing RPM Spec File Syntax
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2235">[ date ]</a>
+ <a href="thread.html#2235">[ thread ]</a>
+ <a href="subject.html#2235">[ subject ]</a>
+ <a href="author.html#2235">[ 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>