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/017813.html | 103 +++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-July/017813.html (limited to 'zarb-ml/mageia-dev/2012-July/017813.html') diff --git a/zarb-ml/mageia-dev/2012-July/017813.html b/zarb-ml/mageia-dev/2012-July/017813.html new file mode 100644 index 000000000..2f527ef17 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-July/017813.html @@ -0,0 +1,103 @@ + + + + [Mageia-dev] [RFC] remove support for /etc/rpm/macros.d/*.macros + + + + + + + + + +

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

+ nicolas vigier + boklm at mars-attacks.org +
+ Mon Jul 30 18:05:13 CEST 2012 +

+
+ +
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 ?
+
+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", ":",
+
+
+
+ + + + + + + + + + + + + + +
+

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