summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-July/006489.html
blob: 1c16958f1b33aa61b77c0d2a7f604d282fa2380e (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
145
146
147
148
<!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=%3C1310144550.14729.210.camel%40akroma.ephaone.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="006485.html">
   <LINK REL="Next"  HREF="006486.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Standardising the virtual Provides in -devel packages</H1>
    <B>Michael Scherer</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=%3C1310144550.14729.210.camel%40akroma.ephaone.org%3E"
       TITLE="[Mageia-dev] Standardising the virtual Provides in -devel packages">misc at zarb.org
       </A><BR>
    <I>Fri Jul  8 19:02:29 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="006485.html">[Mageia-dev] Standardising the virtual Provides in -devel	packages
</A></li>
        <LI>Next message: <A HREF="006486.html">[Mageia-dev] Standardising the virtual Provides in	-devel	packages
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#6489">[ date ]</a>
              <a href="thread.html#6489">[ thread ]</a>
              <a href="subject.html#6489">[ subject ]</a>
              <a href="author.html#6489">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le vendredi 08 juillet 2011 &#224; 17:27 +0300, Anssi Hannula a &#233;crit :
&gt;<i> On 08.07.2011 07:37, Ahmad Samir wrote:
</I>&gt;<i> &gt; Hello.
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; I've had a rather vague idea about standardising the virtual provides
</I>&gt;<i> &gt; in the distro, there should be:
</I>&gt;<i> &gt; Provides: %{name}-devel
</I>&gt;<i> &gt; Provides: lib%{name}-devel
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; either both of them in _all_ packages, or one of them in _all_
</I>&gt;<i> &gt; packages, so that we don't have to check urpmq --provides all the
</I>&gt;<i> &gt; time. Personally, I am more inclined on having them both, so as not to
</I>&gt;<i> &gt; break already working specs.
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; For example:
</I>&gt;<i> &gt; $ urpmq --provides lib64gudev1.0-devel-166-5.mga1.x86_64
</I>&gt;<i> &gt; libgudev-devel[== 166-5.mga1]
</I>&gt;<i> &gt; pkgconfig(gudev-1.0)[== 166]
</I>&gt;<i> &gt; devel(libgudev-1.0(64bit))
</I>&gt;<i> &gt; lib64gudev1.0-devel[== 166-5.mga1]
</I>&gt;<i> &gt; lib64gudev1.0-devel(x86-64)[== 166-5.mga1]
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; only libgudev-devel, so if I put BR gudev-devel in a spec it won't
</I>&gt;<i> &gt; work, whereas I'd expect it to work since some other packages have
</I>&gt;<i> &gt; such similar provides:
</I>&gt;<i> &gt; $ urpmq --provides lib64dbus-1-devel
</I>&gt;<i> &gt; libdbus-1-devel[== 1.4.1-3.mga1]
</I>&gt;<i> &gt; libdbus-devel[== 1.4.1-3.mga1]
</I>&gt;<i> &gt; dbus-devel[== 1.4.1-3.mga1]
</I>&gt;<i> &gt; [...]
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; WDYT?
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; (If we agree to go one way or the other, will just fix them gradually
</I>&gt;<i> &gt; over time).
</I>&gt;<i> 
</I>&gt;<i> I remember having this discussion in Mandriva when we dropped %major
</I>&gt;<i> from devel name. As a result the library policy (which we have on Mageia
</I>&gt;<i> as well) was altered so that all packages should have
</I>&gt;<i> - name-devel
</I>&gt;<i> - tarballname-devel
</I>&gt;<i> as provides, i.e. without lib%name-devel (except for existing pkgs).
</I>&gt;<i> This is what I've been using for any new packages I've packaged.
</I>&gt;<i> 
</I>&gt;<i> However, as usual, I'm fine with any consistent scheme (one or the other
</I>&gt;<i> or both).
</I>
I would be in favor of keeping the compatibility with existing
practice. 


-- 
Michael Scherer

</PRE>







































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