<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] [RFC] remove support for	/etc/rpm/macros.d/*.macros
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BRFC%5D%20remove%20support%20for%09/etc/rpm/macros.d/%2A.macros&In-Reply-To=%3C20120730162106.GH21938%40mars-attacks.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="017818.html">
   <LINK REL="Next"  HREF="017819.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] [RFC] remove support for	/etc/rpm/macros.d/*.macros</H1>
    <B>nicolas vigier</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BRFC%5D%20remove%20support%20for%09/etc/rpm/macros.d/%2A.macros&In-Reply-To=%3C20120730162106.GH21938%40mars-attacks.org%3E"
       TITLE="[Mageia-dev] [RFC] remove support for	/etc/rpm/macros.d/*.macros">boklm at mars-attacks.org
       </A><BR>
    <I>Mon Jul 30 18:21:06 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="017818.html">[Mageia-dev] [RFC] remove support for /etc/rpm/macros.d/*.macros
</A></li>
        <LI>Next message: <A HREF="017819.html">[Mageia-dev] [RFC] remove support for	/etc/rpm/macros.d/*.macros
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#17817">[ date ]</a>
              <a href="thread.html#17817">[ thread ]</a>
              <a href="subject.html#17817">[ subject ]</a>
              <a href="author.html#17817">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Mon, 30 Jul 2012, Olivier Blin wrote:

&gt;<i> Olav Vitters &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">olav at vitters.nl</A>&gt; writes:
</I>&gt;<i> 
</I>&gt;<i> &gt; On Mon, Jul 30, 2012 at 04:47:54PM +0200, Thierry Vignaud wrote:
</I>&gt;<i> &gt;&gt; I would like to drop that patch from rpm (one less to maintain).
</I>&gt;<i> &gt;&gt; That means basically renaming files:
</I>&gt;<i> &gt;&gt;   /etc/rpm/macros.d/foobar.macros =&gt; /etc/rpm/macros/macros.foobar
</I>&gt;<i> &gt; [..]
</I>&gt;<i> &gt;&gt; WDYT?
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; I thought latest idea that /etc is solely for the sysadmin, so shouldn't
</I>&gt;<i> &gt; above be:
</I>&gt;<i> &gt;   /usr/rpm/macros/macros.foobar
</I>&gt;<i> 
</I>&gt;<i> Right, these macros are not supposed to be edited by the sysadmin, we
</I>&gt;<i> could even use /usr/lib/rpm/macros.&lt;foo&gt;
</I>&gt;<i> (we already use this for perl, php, python, systemd)
</I>
Actually rpm provide some macro file in /usr/lib/rpm/macros.&lt;foo&gt;, but
they need to be included manually from spec file. They start with a
comment like this :
# To make use of these macros insert the following line into your spec
# file:
# %include %{_rpmconfigdir}/macros.perl

</PRE>







<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="017818.html">[Mageia-dev] [RFC] remove support for /etc/rpm/macros.d/*.macros
</A></li>
	<LI>Next message: <A HREF="017819.html">[Mageia-dev] [RFC] remove support for	/etc/rpm/macros.d/*.macros
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#17817">[ date ]</a>
              <a href="thread.html#17817">[ thread ]</a>
              <a href="subject.html#17817">[ subject ]</a>
              <a href="author.html#17817">[ 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>