summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110121/002281.html
blob: c4a40c51dca6d992c943345f3f407171b5e5a2ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!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=%3C20110121065913.GA28673%40maude.comedia.it%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002286.html">
   <LINK REL="Next"  HREF="002284.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Importing RPM Spec File Syntax</H1>
    <B>Luca Berra</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Importing%20RPM%20Spec%20File%20Syntax&In-Reply-To=%3C20110121065913.GA28673%40maude.comedia.it%3E"
       TITLE="[Mageia-dev] Importing RPM Spec File Syntax">bluca at vodka.it
       </A><BR>
    <I>Fri Jan 21 07:59:13 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002286.html">[Mageia-dev] Java-Policy first draft published
</A></li>
        <LI>Next message: <A HREF="002284.html">[Mageia-dev] Packaging for Mageia
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2281">[ date ]</a>
              <a href="thread.html#2281">[ thread ]</a>
              <a href="subject.html#2281">[ subject ]</a>
              <a href="author.html#2281">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Wed, Jan 19, 2011 at 11:05:49AM +0100, Thierry Vignaud wrote:
&gt;<i>On 19 January 2011 10:24, Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
</I>&gt;&gt;<i> I think he's saying that if you do this:
</I>&gt;&gt;<i> &#160;Name: foo
</I>&gt;&gt;<i> then you can subsequently use %name elsewhere in the spec and all will
</I>&gt;&gt;<i> be well.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> But if you use:
</I>&gt;&gt;<i> &#160;Version: 1.0
</I>&gt;&gt;<i> then you cannot use %version elsewhere in the spec.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> So defining it manually is the best way to do it so it can be used
</I>&gt;&gt;<i> elsewhere.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> However, I could not replicate that here on my pre-RPM5 cooker box.
</I>&gt;&gt;<i> Using the version with the tag and using %version worked just fine. So I
</I>&gt;&gt;<i> think I have misinterpreted too :s
</I>&gt;<i>
</I>&gt;<i>Indeed since I've used &quot;Version: 1.0&quot; for 12 years...
</I>
take at lvm2 srpm
and try to use %version anywhere in the spec,
you will be surprised by the result.

btw i believe Name to be buggy as well, but there is no use in having
two &quot;Name:&quot; tags in a single spec, so it will never surface.

L.

-- 
Luca Berra -- <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">bluca at vodka.it</A>
</PRE>








<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002286.html">[Mageia-dev] Java-Policy first draft published
</A></li>
	<LI>Next message: <A HREF="002284.html">[Mageia-dev] Packaging for Mageia
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2281">[ date ]</a>
              <a href="thread.html#2281">[ thread ]</a>
              <a href="subject.html#2281">[ subject ]</a>
              <a href="author.html#2281">[ 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>