From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-July/017814.html | 120 +++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-July/017814.html (limited to 'zarb-ml/mageia-dev/2012-July/017814.html') diff --git a/zarb-ml/mageia-dev/2012-July/017814.html b/zarb-ml/mageia-dev/2012-July/017814.html new file mode 100644 index 000000000..9cd5057e8 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-July/017814.html @@ -0,0 +1,120 @@ + + + + [Mageia-dev] [RFC] remove support for /etc/rpm/macros.d/*.macros + + + + + + + + + +

[Mageia-dev] [RFC] remove support for /etc/rpm/macros.d/*.macros

+ Olivier Thauvin + nanardon at nanardon.zarb.org +
+ Mon Jul 30 18:07:55 CEST 2012 +

+
+ +
* nicolas vigier (boklm at mars-attacks.org) wrote:
+> On Mon, 30 Jul 2012, Thierry Vignaud wrote:
+> 
+> > Hi
+> > 
+> > For years, we patch our rpm in order to support for /etc/rpm/macros.d
+> > (very old compat with rpm-4.4).
+> > Upstream refused to merge it as "/etc/rpm/ is a "macros.d" style
+> > directory already, except in name".
+> 
+> In a previous mail Colin was suggesting moving all macro files to
+> /usr/lib/rpm/ instead of /etc/rpm :
+> http://www.mageia.org/pipermail/mageia-dev/2012-July/017654.html
+> 
+> I think shipping macro files somewhere in /usr/lib/rpm with users using
+> files in /etc/rpm to overwrite macros would be nice. Unfortunately this
+> probably requires an other patch to rpm.
+> 
+> Maybe a patch to read /usr/lib/rpm/mageia/macros.* could be accepted
+> upstream ?
+
+Ask for /usr/lib/rpm/mageia/*.macros instead !
+
+> 
+> Something like this :
+> 
+> diff --git a/lib/rpmrc.c b/lib/rpmrc.c
+> index 96f05ce..bef589f 100644
+> --- a/lib/rpmrc.c
+> +++ b/lib/rpmrc.c
+> @@ -439,6 +439,7 @@ static void setDefaults(void)
+>         macrofiles = rstrscat(NULL, confdir, "/macros", ":",
+>                                 confdir, "/platform/%{_target}/macros", ":",
+>                                 confdir, "/fileattrs/*.attr", ":",
+> +                               confdir, "/" RPMCANONVENDOR "/macros.*", ":",
+>                                 confdir, "/" RPMCANONVENDOR "/macros", ":",
+>                                 SYSCONFDIR "/rpm/macros.*", ":",
+>                                 SYSCONFDIR "/rpm/macros", ":",
+> 
+> 
+
+-- 
+
+Olivier Thauvin
+CNRS  -  LATMOS
+♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
+-------------- next part --------------
+A non-text attachment was scrubbed...
+Name: not available
+Type: application/pgp-signature
+Size: 197 bytes
+Desc: not available
+URL: </pipermail/mageia-dev/attachments/20120730/12d9c24b/attachment.asc>
+
+ + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1