diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-July/006886.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-July/006886.html | 114 |
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 <<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> |