From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/20110121/002281.html | 93 +++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 zarb-ml/mageia-dev/20110121/002281.html (limited to 'zarb-ml/mageia-dev/20110121/002281.html') diff --git a/zarb-ml/mageia-dev/20110121/002281.html b/zarb-ml/mageia-dev/20110121/002281.html new file mode 100644 index 000000000..c4a40c51d --- /dev/null +++ b/zarb-ml/mageia-dev/20110121/002281.html @@ -0,0 +1,93 @@ + + + + [Mageia-dev] Importing RPM Spec File Syntax + + + + + + + + + +

[Mageia-dev] Importing RPM Spec File Syntax

+ Luca Berra + bluca at vodka.it +
+ Fri Jan 21 07:59:13 CET 2011 +

+
+ +
On Wed, Jan 19, 2011 at 11:05:49AM +0100, Thierry Vignaud wrote:
+>On 19 January 2011 10:24, Colin Guthrie <mageia at colin.guthr.ie> wrote:
+>> 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
+>
+>Indeed since I've used "Version: 1.0" for 12 years...
+
+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 "Name:" tags in a single spec, so it will never surface.
+
+L.
+
+-- 
+Luca Berra -- bluca at vodka.it
+
+ + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1