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 <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">lmenut at free.fr</A>> wrote:
><i> Le 13/07/2011 12:41, Ahmad Samir a écrit :
</I>>><i>
</I>>><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>
</I>>>><i> On Wed, 13 Jul 2011, Ahmad Samir wrote:
</I>>>><i>
</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>><i>
</I>><i> Couldn't we have a macro for this? It would help in consistency, and will
</I>><i> avoid typo.
</I>><i> We could use it like this:
</I>><i> %mkdevelprov %{name} %{version}
</I>><i>
</I>><i> regards,
</I>><i> Luc
</I>><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>
|