summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-July/006886.html
blob: eac02de2c84525ae71992f73c0f7a78374fd7136 (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Standardising the virtual Provides in -devel	packages
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Standardising%20the%20virtual%20Provides%20in%20-devel%0A%09packages&In-Reply-To=%3CCAJmd%2Bxq-OyXRoQg1r80dh%2B9rceANA%2BSm%3D9R-a28RQVQpXuZcRw%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="006879.html">
   <LINK REL="Next"  HREF="006478.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Standardising the virtual Provides in -devel	packages</H1>
    <B>Ahmad Samir</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Standardising%20the%20virtual%20Provides%20in%20-devel%0A%09packages&In-Reply-To=%3CCAJmd%2Bxq-OyXRoQg1r80dh%2B9rceANA%2BSm%3D9R-a28RQVQpXuZcRw%40mail.gmail.com%3E"
       TITLE="[Mageia-dev] Standardising the virtual Provides in -devel	packages">ahmadsamir3891 at gmail.com
       </A><BR>
    <I>Tue Jul 19 08:32:24 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="006879.html">[Mageia-dev] Standardising the virtual Provides in	-devel	packages
</A></li>
        <LI>Next message: <A HREF="006478.html">[Mageia-dev] Mageia educational - part 2
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#6886">[ date ]</a>
              <a href="thread.html#6886">[ thread ]</a>
              <a href="subject.html#6886">[ subject ]</a>
              <a href="author.html#6886">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 18 July 2011 22:37, Luc Menut &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">lmenut at free.fr</A>&gt; wrote:
&gt;<i> Le 13/07/2011 12:41, Ahmad Samir a &#233;crit :
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> On 13 July 2011 12:34, nicolas vigier&lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">boklm at mars-attacks.org</A>&gt; &#160;wrote:
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> On Wed, 13 Jul 2011, Ahmad Samir wrote:
</I>&gt;&gt;&gt;<i>
</I>&gt;<i> ...
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Using pkgconfig provides looks like an optimal option, we could start
</I>&gt;&gt;&gt;&gt;<i> now, whenever we touch a spec we change to the pkgconfig provides, and
</I>&gt;&gt;&gt;&gt;<i> gradually all the specs will be adapted.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> And for the packages that don't have .pc files we add:
</I>&gt;&gt;&gt;&gt;<i> Provides: %{name}-devel = %{version}-release
</I>&gt;&gt;&gt;&gt;<i> Provides: lib%{name}-devel = %{version}-release
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> or we could add them to all packages whether they have .pc files or
</I>&gt;&gt;&gt;&gt;<i> not, but still always use pkgconfig() provides as BR in our specs.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> I think it's better to use %{name}-devel for packages which don't have
</I>&gt;&gt;&gt;<i> pkgconfig files. And keep pkgconfig() provides for packages with .pc
</I>&gt;&gt;&gt;<i> files.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> As spturtle said, conformity/consistency is good, i.e. all our
</I>&gt;&gt;<i> packages should have the same Provides, that's better in the long run,
</I>&gt;&gt;<i> and less confusing for new (and old too) packagers.
</I>&gt;&gt;<i>
</I>&gt;<i>
</I>&gt;<i> Couldn't we have a macro for this? It would help in consistency, and will
</I>&gt;<i> avoid typo.
</I>&gt;<i> We could use it like this:
</I>&gt;<i> %mkdevelprov %{name} %{version}
</I>&gt;<i>
</I>&gt;<i> regards,
</I>&gt;<i> Luc
</I>&gt;<i>
</I>
Good point. There'll be corner cases, but it should work for the
majority of packages.

-- 
Ahmad Samir
</PRE>















<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="006879.html">[Mageia-dev] Standardising the virtual Provides in	-devel	packages
</A></li>
	<LI>Next message: <A HREF="006478.html">[Mageia-dev] Mageia educational - part 2
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#6886">[ date ]</a>
              <a href="thread.html#6886">[ thread ]</a>
              <a href="subject.html#6886">[ subject ]</a>
              <a href="author.html#6886">[ 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>