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/20110119/002235.html | 107 ++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 zarb-ml/mageia-dev/20110119/002235.html (limited to 'zarb-ml/mageia-dev/20110119/002235.html') 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 @@ + + + + [Mageia-dev] Importing RPM Spec File Syntax + + + + + + + + + +

[Mageia-dev] Importing RPM Spec File Syntax

+ Colin Guthrie + mageia at colin.guthr.ie +
+ Wed Jan 19 10:24:10 CET 2011 +

+
+ +
'Twas brillig, and Oliver Burger at 19/01/11 08:07 did gyre and gimble:
+> Luca Berra <bluca at vodka.it> schrieb am 2011-01-19
+>> "Name: foo"
+>> appers to be working
+>> in rpm 4.6 "Version: foo" is totally borked, dunno with rpm 5
+>> this is why i will continue on using macros for version and
+>> release. %define myver 1.0
+>> %define myrel %mkrel 1
+>>
+>> Name: foo
+>> Version: %myver
+>> Release: %myrel
+> 
+> Can't follow you there: what is or is not working with
+> "Version: foo" or "Release: %mkrel foo"?
+
+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
+http://colin.guthr.ie/
+
+Day Job:
+  Tribalogic Limited [http://www.tribalogic.net/]
+Open Source:
+  Mageia Contributor [http://www.mageia.org/]
+  PulseAudio Hacker [http://www.pulseaudio.org/]
+  Trac Hacker [http://trac.edgewall.org/]
+
+ + + + + + + +
+

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