diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-August/007464.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-August/007464.html | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-August/007464.html b/zarb-ml/mageia-dev/2011-August/007464.html new file mode 100644 index 000000000..c055390dc --- /dev/null +++ b/zarb-ml/mageia-dev/2011-August/007464.html @@ -0,0 +1,112 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] [134638] - clean spec + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5B134638%5D%20-%20clean%20spec&In-Reply-To=%3C1314110619.2119.21.camel%40akroma.ephaone.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="007463.html"> + <LINK REL="Next" HREF="007467.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] [134638] - clean spec</H1> + <B>Michael Scherer</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5B134638%5D%20-%20clean%20spec&In-Reply-To=%3C1314110619.2119.21.camel%40akroma.ephaone.org%3E" + TITLE="[Mageia-dev] [134638] - clean spec">misc at zarb.org + </A><BR> + <I>Tue Aug 23 16:43:38 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="007463.html">[Mageia-dev] [134638] - clean spec +</A></li> + <LI>Next message: <A HREF="007467.html">[Mageia-dev] [134638] - clean spec +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#7464">[ date ]</a> + <a href="thread.html#7464">[ thread ]</a> + <a href="subject.html#7464">[ subject ]</a> + <a href="author.html#7464">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Le mardi 23 août 2011 à 16:23 +0200, grenoya a écrit : +><i> Le 23/08/11 15:44, Thierry Vignaud a écrit : +</I>><i> > On 21 August 2011 15:44, Colin Guthrie<<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote: +</I>><i> >> I do have to wonder why those macros are used... it seems quite trivial +</I>><i> >> to use the actual commands directly and that ultimately increases +</I>><i> >> portability (which maybe isn't a major concern, but all the same) +</I>><i> >> +</I>><i> >> What are the general thoughts on this? +</I>><i> > +</I>><i> > As a 12+ years maintainer of mdv/mdv/mga, I think most spec don't use those. +</I>><i> > They don't bring anything anyway. +</I>><i> > If only, we could standardize on the most usefull macros between distro at first +</I>><i> > (eg %make vs make %{?_smp_mflags}) +</I>><i> +</I>><i> '%foo' commands are wrappers. +</I>><i> Like '%make' is a wrapper for "make -j4" (parralel compilation on 4 nodes) +</I>><i> It can be quicker to build with the command, but in some cases (I met +</I>><i> some) it brakes the build. +</I>><i> +</I>><i> From my point of view (I am not packager since long) commands are great +</I>><i> tools, it eases our work a lot :) +</I>><i> So I agree with Tv: we should use them every time it is possible. At +</I>><i> least the most commons. +</I> +the problem is that we are not sure when there is a wrapper, and when +there is one and it doesn't nothing more, they obscure the fact that rpm +is just a shell script + metadata. I think for some people, this look +like magic :) + +So when the macro do something more, yes we need to use it. +If not, and if we want to follow others distribution, we should take a +look at their policy + +I found the one of Fedora on +<A HREF="http://fedoraproject.org/wiki/Packaging:Guidelines#Macros">http://fedoraproject.org/wiki/Packaging:Guidelines#Macros</A> , and +basically, they say "use rm rather than %{_rm}". + +If someone can find the one of Suse or others, that would help use to +see if a consensus emerge + +-- +Michael Scherer + +</PRE> + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="007463.html">[Mageia-dev] [134638] - clean spec +</A></li> + <LI>Next message: <A HREF="007467.html">[Mageia-dev] [134638] - clean spec +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#7464">[ date ]</a> + <a href="thread.html#7464">[ thread ]</a> + <a href="subject.html#7464">[ subject ]</a> + <a href="author.html#7464">[ 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> |