summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-July/006886.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2011-July/006886.html')
-rw-r--r--zarb-ml/mageia-dev/2011-July/006886.html114
1 files changed, 114 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-July/006886.html b/zarb-ml/mageia-dev/2011-July/006886.html
new file mode 100644
index 000000000..eac02de2c
--- /dev/null
+++ b/zarb-ml/mageia-dev/2011-July/006886.html
@@ -0,0 +1,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>