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-sysadm/2011-April/003356.html | 100 +++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2011-April/003356.html (limited to 'zarb-ml/mageia-sysadm/2011-April/003356.html') diff --git a/zarb-ml/mageia-sysadm/2011-April/003356.html b/zarb-ml/mageia-sysadm/2011-April/003356.html new file mode 100644 index 000000000..5d616ec68 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-April/003356.html @@ -0,0 +1,100 @@ + + + + [Mageia-sysadm] mgaversion and mgaver macros + + + + + + + + + +

[Mageia-sysadm] mgaversion and mgaver macros

+ Ahmad Samir + ahmadsamir3891 at gmail.com +
+ Thu Apr 14 21:12:05 CEST 2011 +

+
+ +
On 14 April 2011 13:41, Michael Scherer <misc at zarb.org> wrote:
+> Le mardi 12 avril 2011 à 13:07 +0200, Olivier Blin a écrit :
+>> Ahmad Samir <ahmadsamir3891 at gmail.com> writes:
+>>
+>> > Hello,
+>> >
+>> > $ rpm --showrc | grep mgaver
+>> > -14: mgaver     1
+>> > -14: mgaversion %(perl -pe '/(\d+)\.(\d)\.?(\d)?/; $_="$1$2".($3||0)'
+>> > /etc/release)
+>> >
+>> > $ perl -pe '/(\d+)\.(\d)\.?(\d)?/; $_="$1$2".($3||0)' /etc/release
+>> > 0
+>> >
+>> >
+>> > this should be fixed before first release.
+>>
+>> Or this should be dropped.
+>
+> +1
+>
+>> Please prefer using distro-name-agnostic macros.
+>> In this case, %distro_release (from product.id macros)
+>
+> Could we have a warning, or something like that so we can do a smooth
+> migration ?
+>
+>
+> --
+> Michael Scherer
+
+The only way %mdkversion got really dropped was removing it altogether
+and making the build fail. So a post to -dev saying "%mgaver and
+%mgaversion are gone" should be good enough.
+
+Also note that those two macros aren't widely used in the specs, yet;
+given the fact Mageia 1 is still not released yet.
+
+-- 
+Ahmad Samir
+
+ + + + + + + +
+

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