<!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%2BxrcAo9xsvgeR%3Du-qG8ju_avG3whU4J8E8qkuic5x26wLQ%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="006599.html">
   <LINK REL="Next"  HREF="006602.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%2BxrcAo9xsvgeR%3Du-qG8ju_avG3whU4J8E8qkuic5x26wLQ%40mail.gmail.com%3E"
       TITLE="[Mageia-dev] Standardising the virtual Provides in -devel	packages">ahmadsamir3891 at gmail.com
       </A><BR>
    <I>Wed Jul 13 12:31:57 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="006599.html">[Mageia-dev] Standardising the virtual Provides in -devel packages
</A></li>
        <LI>Next message: <A HREF="006602.html">[Mageia-dev] Standardising the virtual Provides in	-devel	packages
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#6601">[ date ]</a>
              <a href="thread.html#6601">[ thread ]</a>
              <a href="subject.html#6601">[ subject ]</a>
              <a href="author.html#6601">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 13 July 2011 12:15, Christiaan Welvaart &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">cjw at daneel.dyndns.org</A>&gt; wrote:
&gt;<i> On Wed, 13 Jul 2011, Ahmad Samir wrote:
</I>&gt;<i>
</I>&gt;&gt;&gt;<i> <A HREF="https://bugs.mageia.org/show_bug.cgi?id=2065">https://bugs.mageia.org/show_bug.cgi?id=2065</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Using pkgconfig provides looks like an optimal option, we could start
</I>&gt;&gt;<i> now, whenever we touch a spec we change to the pkgconfig provides, and
</I>&gt;&gt;<i> gradually all the specs will be adapted.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> And for the packages that don't have .pc files we add:
</I>&gt;&gt;<i> Provides: %{name}-devel = %{version}-release
</I>&gt;&gt;<i> Provides: lib%{name}-devel = %{version}-release
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> or we could add them to all packages whether they have .pc files or
</I>&gt;&gt;<i> not, but still always use pkgconfig() provides as BR in our specs.
</I>&gt;<i>
</I>&gt;<i> Always adding the same provides regardless of what gets added automatically
</I>&gt;<i> is probably better and easier. I'd like to modify or clarify your proposal a
</I>&gt;<i> bit. When name starts with &quot;lib&quot;, use %{oname}-devel and lib%{oname}-devel
</I>&gt;<i> as provides. oname must be defined in the specfile as the name without the
</I>&gt;<i> lib prefix. That is usually already the case and this macro is used as
</I>&gt;<i> argument for mklibname.
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> &#160; &#160;Christiaan
</I>&gt;<i>
</I>
Agreed, liblib* shouldn't exist.

-- 
Ahmad Samir
</PRE>


















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