summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110119/002250.html
blob: b63b410a5c13ff1b4bf09fa9211c75d2f9f0bfd8 (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
104
<!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=%3C4D36EE23.4070501%40iki.fi%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002249.html">
   <LINK REL="Next"  HREF="002244.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Importing RPM Spec File Syntax</H1>
    <B>Thomas Backlund</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Importing%20RPM%20Spec%20File%20Syntax&In-Reply-To=%3C4D36EE23.4070501%40iki.fi%3E"
       TITLE="[Mageia-dev] Importing RPM Spec File Syntax">tmb at iki.fi
       </A><BR>
    <I>Wed Jan 19 14:58:59 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002249.html">[Mageia-dev] Importing RPM Spec File Syntax
</A></li>
        <LI>Next message: <A HREF="002244.html">[Mageia-dev] Importing RPM Spec File Syntax
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2250">[ date ]</a>
              <a href="thread.html#2250">[ thread ]</a>
              <a href="subject.html#2250">[ subject ]</a>
              <a href="author.html#2250">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Michael scherer skrev 19.1.2011 15:30:
&gt;<i> On Wed, Jan 19, 2011 at 02:44:35PM +0200, Ahmad Samir wrote:
</I>&gt;&gt;<i> On 15 January 2011 12:08, Remy CLOUARD&lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">shikamaru at mandriva.org</A>&gt;  wrote:
</I>&gt;&gt;&gt;<i> Hi there,
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> I just imported the RPM Spec File Syntax page in the wiki.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> It&#8217;s located here: <A HREF="http://mageia.org/wiki/doku.php?id=spec_syntax">http://mageia.org/wiki/doku.php?id=spec_syntax</A>
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Please review this page as it&#8217;s one of the most important one for the
</I>&gt;&gt;&gt;<i> beginning of the mentoring process, with the RPM Howto page (yet to be
</I>&gt;&gt;&gt;<i> imported).
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Some comments on this page:
</I>&gt;&gt;&gt;<i> - Patch naming:
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> I&#8217;m not sure we should go that far for the patch naming policy, and in
</I>&gt;&gt;&gt;<i> practice it&#8217;s not what I&#8217;ve seen up till now.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Here&#8217;s a proposal:
</I>&gt;&gt;&gt;<i> Patches must be named in a very explicit manner to make it very clear to
</I>&gt;&gt;&gt;<i> what version it was originally applied. To that end, a patch needs to
</I>&gt;&gt;&gt;<i> follow the convention of
</I>&gt;&gt;&gt;<i> [package_name]-[version]-[description].patch:
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i>   * [package_name] is the name of the package it applies against, such
</I>&gt;&gt;&gt;<i>   as 'shadow-utils' or 'gnupg'
</I>&gt;&gt;&gt;<i>   * [version] is the version of the program this patch was developed
</I>&gt;&gt;&gt;<i>   against, such as 1.0. The name of the patch should not change,
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> I don't agree, if you rediff the patch against version 2.0 the the
</I>&gt;&gt;<i> version in the patch name should change; one reason is, it can't be
</I>&gt;&gt;<i> applied to version 1.0 any more without restoring the old patch from
</I>&gt;&gt;<i> an older SVN rev. or rediffing it again.
</I>&gt;<i>
</I>&gt;<i> But that mean we lose history of svn ?
</I>
svn mv old_patch_name new_patch_name

and then update new_patch_name to apply correctly.

--
Thomas
</PRE>







<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002249.html">[Mageia-dev] Importing RPM Spec File Syntax
</A></li>
	<LI>Next message: <A HREF="002244.html">[Mageia-dev] Importing RPM Spec File Syntax
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2250">[ date ]</a>
              <a href="thread.html#2250">[ thread ]</a>
              <a href="subject.html#2250">[ subject ]</a>
              <a href="author.html#2250">[ 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>