summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-June/016537.html
blob: 6a9fa7aef856a0671c2e990e9c3e8893eb34e452 (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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] unpackaged files lurking in the weeds
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20unpackaged%20files%20lurking%20in%20the%20weeds&In-Reply-To=%3CCAL%2BdqvAD_7DumS53wmsAe9eKosLJ%2Bo0rO9DVNT8fFURrKkk8tw%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="016536.html">
   <LINK REL="Next"  HREF="016581.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] unpackaged files lurking in the weeds</H1>
    <B>D.Morgan</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20unpackaged%20files%20lurking%20in%20the%20weeds&In-Reply-To=%3CCAL%2BdqvAD_7DumS53wmsAe9eKosLJ%2Bo0rO9DVNT8fFURrKkk8tw%40mail.gmail.com%3E"
       TITLE="[Mageia-dev] unpackaged files lurking in the weeds">dmorganec at gmail.com
       </A><BR>
    <I>Fri Jun 15 16:12:23 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="016536.html">[Mageia-dev] unpackaged files lurking in the weeds
</A></li>
        <LI>Next message: <A HREF="016581.html">[Mageia-dev] unpackaged files lurking in the weeds
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#16537">[ date ]</a>
              <a href="thread.html#16537">[ thread ]</a>
              <a href="subject.html#16537">[ subject ]</a>
              <a href="author.html#16537">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Fri, Jun 15, 2012 at 4:00 PM, Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
&gt;<i> 'Twas brillig, and D.Morgan at 15/06/12 14:38 did gyre and gimble:
</I>&gt;&gt;<i> On Fri, Jun 15, 2012 at 3:23 PM, David Walser &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">luigiwalser at yahoo.com</A>&gt; wrote:
</I>&gt;&gt;&gt;<i> --- On Fri, 6/15/12, Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
</I>&gt;&gt;&gt;&gt;<i> From: Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt;
</I>&gt;&gt;&gt;&gt;<i> Subject: Re: [Mageia-dev] unpackaged files lurking in the weeds
</I>&gt;&gt;&gt;&gt;<i> To: &quot;Mageia development mailing-list&quot; &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia-dev at mageia.org</A>&gt;
</I>&gt;&gt;&gt;&gt;<i> Cc: &quot;David Walser&quot; &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">luigiwalser at yahoo.com</A>&gt;
</I>&gt;&gt;&gt;&gt;<i> Date: Friday, June 15, 2012, 4:53 AM
</I>&gt;&gt;&gt;&gt;<i> 'Twas brillig, and David Walser at
</I>&gt;&gt;&gt;&gt;<i> 15/06/12 01:42 did gyre and gimble:
</I>&gt;&gt;&gt;&gt;&gt;<i> So, maybe we should do something about this. &#160;My
</I>&gt;&gt;&gt;&gt;<i> preference would
</I>&gt;&gt;&gt;&gt;&gt;<i> have rpm still complain about unpackaged %excluded
</I>&gt;&gt;&gt;&gt;<i> files, but not
</I>&gt;&gt;&gt;&gt;&gt;<i> die, just give a warning instead.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Personally, I don't see the point in using %exclude to
</I>&gt;&gt;&gt;&gt;<i> exclude files
</I>&gt;&gt;&gt;&gt;<i> completely from all sub packages. We can just use &quot;rm&quot; in
</I>&gt;&gt;&gt;&gt;<i> the the
</I>&gt;&gt;&gt;&gt;<i> %install section for that (we typically already do that to
</I>&gt;&gt;&gt;&gt;<i> remove *.la
</I>&gt;&gt;&gt;&gt;<i> files for example).
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> So for me %exclude should only operate on subpackage file
</I>&gt;&gt;&gt;&gt;<i> list and
</I>&gt;&gt;&gt;&gt;<i> should only be useful to undo any wildcard inclusions:
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> e.g.
</I>&gt;&gt;&gt;&gt;<i> %files
</I>&gt;&gt;&gt;&gt;<i> %{_libdir}/foo/*
</I>&gt;&gt;&gt;&gt;<i> %exclude %{_libdir}/foo/something-in-another-sub-package
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> %files -n sub
</I>&gt;&gt;&gt;&gt;<i> %{_libdir}/foo/something-in-another-sub-package
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> That kind of thing.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> That, to me, seems most logical. I'm not sure what the
</I>&gt;&gt;&gt;&gt;<i> upstream
</I>&gt;&gt;&gt;&gt;<i> behaviour is, but I would agree that we should follow it all
</I>&gt;&gt;&gt;&gt;<i> the same
</I>&gt;&gt;&gt;&gt;<i> even if the goal would be to push for upstream changes when
</I>&gt;&gt;&gt;&gt;<i> needed.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Cheers
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Col
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> So, if we want to follow Colin's suggestion, we drop the patch. &#160;The patch changes upstream behavior, and adds the extra usage of %exclude, which as Colin and I pointed out, you can just rm things in %install (or patch Makefiles) instead.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> WE DON'T USE ANY PATCH FOR THIS AND WE USE UPSTREAM %EXCLUDE BEHAVIOUR
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> i wrote in big letters to be sure everybody reads well.
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> :)
</I>&gt;<i>
</I>&gt;<i> Yeah, that patch hasn't existed in our code for a long time it seems.
</I>&gt;<i>
</I>&gt;<i> Both rpm in mga1 and in mga2 don't have it applied. The link David sent
</I>&gt;<i> originally is an old release it seems.
</I>&gt;<i>
</I>&gt;<i>
</I>
yes this is only when we first imported rpm in mga from mdv 2010.x rpm.org.

the goal is to be compatible with rpm.org based linux distribution. If
you want to see %exclude behaviour to change provide the patch
upstream.
</PRE>


















<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="016536.html">[Mageia-dev] unpackaged files lurking in the weeds
</A></li>
	<LI>Next message: <A HREF="016581.html">[Mageia-dev] unpackaged files lurking in the weeds
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#16537">[ date ]</a>
              <a href="thread.html#16537">[ thread ]</a>
              <a href="subject.html#16537">[ subject ]</a>
              <a href="author.html#16537">[ 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>