On Mon, 30 Jul 2012, Olivier Thauvin wrote: > * Olivier Blin ([email protected]) wrote: > > Olav Vitters <[email protected]> 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 : http://svnweb.mageia.org/soft/drakx/trunk/perl-install/lang.pm?revision=4265&view=markup#l1100 Maybe this should be changed to modify/create /etc/rpm/macros.install_langs instead ? We can also remove /etc/rpm/macros from rpm package.
