[Mageia-dev] [RFC] remove support for /etc/rpm/macros.d/*.macros
boklm at mars-attacks.org
Mon Jul 30 18:55:01 CEST 2012
On Mon, 30 Jul 2012, Olivier Thauvin wrote:
> * Olivier Blin (mageia at blino.org) wrote:
> > Olav Vitters <olav at vitters.nl> writes:
> > > On Mon, Jul 30, 2012 at 04:47:54PM +0200, Thierry Vignaud wrote:
> > >> I would like to drop that patch from rpm (one less to maintain).
> > >> That means basically renaming files:
> > >> /etc/rpm/macros.d/foobar.macros => /etc/rpm/macros/macros.foobar
> > > [..]
> > >> WDYT?
> > >
> > > I thought latest idea that /etc is solely for the sysadmin, so shouldn't
> > > above be:
> > > /usr/rpm/macros/macros.foobar
> > Right, these macros are not supposed to be edited by the sysadmin, we
> > could even use /usr/lib/rpm/macros.<foo>
> > (we already use this for perl, php, python, systemd)
> But I never edited my /etc/rpm/macros. It has been modified by installer
> long time ago and the /etc/rpm/macros.rpmnew has been created by an
> update of rpm.
> Is the installer supposed to modify /etc/rpm/macros ?...
Yes, the install (and maybe draklocale) modify /etc/rpm/macros :
Maybe this should be changed to modify/create /etc/rpm/macros.install_langs
We can also remove /etc/rpm/macros from rpm package.
More information about the Mageia-dev