summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110116/002185.html
blob: a2a0a680c434d6dcccba6b796004081f8bb4ae74 (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
94
95
96
97
98
99
100
101
102
103
<!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=%3C20110116174940.GA5562%40shikamaru.fr%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002184.html">
   <LINK REL="Next"  HREF="002186.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Importing RPM Spec File Syntax</H1>
    <B>Remy CLOUARD</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Importing%20RPM%20Spec%20File%20Syntax&In-Reply-To=%3C20110116174940.GA5562%40shikamaru.fr%3E"
       TITLE="[Mageia-dev] Importing RPM Spec File Syntax">shikamaru at mandriva.org
       </A><BR>
    <I>Sun Jan 16 18:49:40 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002184.html">[Mageia-dev] Python Packaging Policy
</A></li>
        <LI>Next message: <A HREF="002186.html">[Mageia-dev] mageia sound tasks
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2185">[ date ]</a>
              <a href="thread.html#2185">[ thread ]</a>
              <a href="subject.html#2185">[ subject ]</a>
              <a href="author.html#2185">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Sat, Jan 15, 2011 at 02:10:08PM +0100, Maarten Vanraes wrote:
&gt;<i> Op zaterdag 15 januari 2011 14:01:51 schreef John Balcaen:
</I>&gt;<i> &gt; [...]
</I>&gt;<i> &gt; Regarding the spec we've got at least a major difference in our kde's spec
</I>&gt;<i> &gt; For example not all the %define are localized at the top of the
</I>&gt;<i> &gt; spec,especially thoses for macro &amp; libname : it's  easier for me to have
</I>&gt;<i> &gt; some of them in the same part.Maybe it's due to our will massive
</I>&gt;<i> &gt; libification, but having more then 15
</I>&gt;<i> &gt; %define for macro &amp; libname without knowing  which package is affected.
</I>&gt;<i> &gt; Also maybe others can find useful to have the %files list for every
</I>&gt;<i> &gt; package listed
</I>&gt;<i> &gt; under their description (instead of having all of them after the
</I>&gt;<i> &gt; %prep,%build etc part )
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; Regards,
</I>&gt;<i> 
</I>&gt;<i> Personally, i agree regarding the %files part to be under their respective 
</I>&gt;<i> %description and having build stuff on the bottom part. I like that idea.
</I>&gt;<i> 
</I>&gt;<i> regarding defines, i don't understand completely, but i am in favor of having 
</I>&gt;<i> all defines up top.
</I>Well, I think mikala&#8217;s got a point there. Experience showed that having
defines put where they are relevant simply improved readability.
OTOH, the spec does not say anything apart &#8220;it should be on top&#8221;.
I think we should not enforce define on top if we have no valid reason
to have it like this.

Also, a way to improve readability regarding subpackages is to
systematically add a line of comment between them like this :

#-----------------------------------------------------------------------

I&#8217;ll add a section about subpackages, because they&#8217;re not mentionned in
the current policy.

Regards,
-- 
R&#233;my CLOUARD
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: &lt;/pipermail/mageia-dev/attachments/20110116/0666d495/attachment.asc&gt;
</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002184.html">[Mageia-dev] Python Packaging Policy
</A></li>
	<LI>Next message: <A HREF="002186.html">[Mageia-dev] mageia sound tasks
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2185">[ date ]</a>
              <a href="thread.html#2185">[ thread ]</a>
              <a href="subject.html#2185">[ subject ]</a>
              <a href="author.html#2185">[ 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>