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
|
<!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%0A%09-devel%09packages&In-Reply-To=%3C4E249979.1030609%40free.fr%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="006603.html">
<LINK REL="Next" HREF="006886.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Standardising the virtual Provides in -devel packages</H1>
<B>Luc Menut</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Standardising%20the%20virtual%20Provides%20in%0A%09-devel%09packages&In-Reply-To=%3C4E249979.1030609%40free.fr%3E"
TITLE="[Mageia-dev] Standardising the virtual Provides in -devel packages">lmenut at free.fr
</A><BR>
<I>Mon Jul 18 22:37:13 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="006603.html">[Mageia-dev] Standardising the virtual Provides in -devel packages
</A></li>
<LI>Next message: <A HREF="006886.html">[Mageia-dev] Standardising the virtual Provides in -devel packages
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6879">[ date ]</a>
<a href="thread.html#6879">[ thread ]</a>
<a href="subject.html#6879">[ subject ]</a>
<a href="author.html#6879">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Le 13/07/2011 12:41, Ahmad Samir a écrit :
><i> On 13 July 2011 12:34, nicolas vigier<<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">boklm at mars-attacks.org</A>> wrote:
</I>>><i> On Wed, 13 Jul 2011, Ahmad Samir wrote:
</I>>><i>
</I>...
>>><i>
</I>>>><i> Using pkgconfig provides looks like an optimal option, we could start
</I>>>><i> now, whenever we touch a spec we change to the pkgconfig provides, and
</I>>>><i> gradually all the specs will be adapted.
</I>>>><i>
</I>>>><i> And for the packages that don't have .pc files we add:
</I>>>><i> Provides: %{name}-devel = %{version}-release
</I>>>><i> Provides: lib%{name}-devel = %{version}-release
</I>>>><i>
</I>>>><i> or we could add them to all packages whether they have .pc files or
</I>>>><i> not, but still always use pkgconfig() provides as BR in our specs.
</I>>><i>
</I>>><i> I think it's better to use %{name}-devel for packages which don't have
</I>>><i> pkgconfig files. And keep pkgconfig() provides for packages with .pc
</I>>><i> files.
</I>>><i>
</I>>><i>
</I>><i>
</I>><i> As spturtle said, conformity/consistency is good, i.e. all our
</I>><i> packages should have the same Provides, that's better in the long run,
</I>><i> and less confusing for new (and old too) packagers.
</I>><i>
</I>
Couldn't we have a macro for this? It would help in consistency, and
will avoid typo.
We could use it like this:
%mkdevelprov %{name} %{version}
regards,
Luc
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="006603.html">[Mageia-dev] Standardising the virtual Provides in -devel packages
</A></li>
<LI>Next message: <A HREF="006886.html">[Mageia-dev] Standardising the virtual Provides in -devel packages
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6879">[ date ]</a>
<a href="thread.html#6879">[ thread ]</a>
<a href="subject.html#6879">[ subject ]</a>
<a href="author.html#6879">[ 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>
|