On Fri, 03.08.12 21:10, Panu Matilainen (pmatilai(a)laiskiainen.org)
wrote:
> On 08/03/2012 08:26 PM, Lennart Poettering wrote:
>> On Fri, 03.08.12 14:44, Panu Matilainen (pmatilai(a)laiskiainen.org) wrote:
>>
>>> On 08/03/2012 02:02 PM, Kay Sievers wrote:
>>>> On Fri, Aug 3, 2012 at 12:56 PM, Peter Lemenkov
<lemenkov(a)gmail.com> wrote:
>>>>> 2012/8/3 Lennart Poettering <mzerqung(a)0pointer.de>:
>>>>>> On Wed, 01.08.12 15:28, Tom Callaway (tcallawa(a)redhat.com)
wrote:
>>>>>>
>>>>>>> A new section on Macros has been added to the Packaging
Guidelines,
>>>>>>> covering Packaging of Additional RPM Macros.
>>>>>>>
>>>>>>>
https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_of_Addition...
>>>>>> What's the rationale behind having these in /etc? This is
hardly user
>>>>>> configuration, and only ever used if people build their own RPMs.
We
>>>>>> really should try harder not to clutter /etc with stuff that is
not
>>>>>> configuration.
>>>>>>
>>>>>> Why not have this somewhere below /usr?
>>> Because rpm doesn't have a drop-in directory for macros anywhere in
>>> /usr, nobody has asked for one before this, and while I agree on
>>> "/etc admin purity" being a good thing generally, it has not been
>>> (and still isn't) enough of a reason to make it worth the pain for
>>> me to personally drive such a move.
>> OpenSUSE has this in /usr/lib/rpm/macros instead. Makes a lot of sense
>> to copy that scheme from them and making the delta between the distros
>> here a bit smaller.
> Ehh? /usr/lib/rpm/macros is and has always been rpm's own "factory
> default" configuration *file*. In Suse, Fedora and every rpm based
> distro I know of. Suse patches the upstream config directly to suit
> their purposes, in Fedora-land the distro defaults are set in
> /usr/lib/rpm/redhat/macros, but that's also a just a file, not a
> directory where you can drop in bits and pieces of extra macros from
> different packages. Obviously Suse could've added a drop-in macro
> directory of their own but looking at their factory rpm sources, I
> see no evidence of that.
Oops, sorry, I was misinformed on this one. Still believe it belongs in
/usr though.
Sory for the confusion.
Lennart