blob: 38baa7820c042978475eb30d85ffe6543a3929b8 (
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
|
<!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%20packages&In-Reply-To=%3Calpine.LMD.2.02.1107131205230.23967%40zem.cjw.nep%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="006598.html">
<LINK REL="Next" HREF="006601.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Standardising the virtual Provides in -devel packages</H1>
<B>Christiaan Welvaart</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Standardising%20the%20virtual%20Provides%20in%20-devel%0A%20packages&In-Reply-To=%3Calpine.LMD.2.02.1107131205230.23967%40zem.cjw.nep%3E"
TITLE="[Mageia-dev] Standardising the virtual Provides in -devel packages">cjw at daneel.dyndns.org
</A><BR>
<I>Wed Jul 13 12:15:26 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="006598.html">[Mageia-dev] Standardising the virtual Provides in -devel packages
</A></li>
<LI>Next message: <A HREF="006601.html">[Mageia-dev] Standardising the virtual Provides in -devel packages
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6599">[ date ]</a>
<a href="thread.html#6599">[ thread ]</a>
<a href="subject.html#6599">[ subject ]</a>
<a href="author.html#6599">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Wed, 13 Jul 2011, Ahmad Samir wrote:
>><i> <A HREF="https://bugs.mageia.org/show_bug.cgi?id=2065">https://bugs.mageia.org/show_bug.cgi?id=2065</A>
</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>
Always adding the same provides regardless of what gets added
automatically is probably better and easier. I'd like to modify or clarify
your proposal a bit. When name starts with "lib", use %{oname}-devel and
lib%{oname}-devel as provides. oname must be defined in the specfile as
the name without the lib prefix. That is usually already the case and this
macro is used as argument for mklibname.
Christiaan
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="006598.html">[Mageia-dev] Standardising the virtual Provides in -devel packages
</A></li>
<LI>Next message: <A HREF="006601.html">[Mageia-dev] Standardising the virtual Provides in -devel packages
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6599">[ date ]</a>
<a href="thread.html#6599">[ thread ]</a>
<a href="subject.html#6599">[ subject ]</a>
<a href="author.html#6599">[ 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>
|