[Mageia-dev] [RFC] remove support for /etc/rpm/macros.d/*.macros
nicolas vigier
boklm at mars-attacks.org
Mon Jul 30 18:39:03 CEST 2012
On Mon, 30 Jul 2012, Olivier Thauvin wrote:
> * 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 !
*.macros would be better than macros.*, but macros.* is more consistent
with what is already done in /etc/rpm.
In /usr/lib/rpm/* we don't have the problem with *.rpmnew files because
we don't have to flag them as configuration, as people are not supposed
to edit them.
More information about the Mageia-dev
mailing list