rpmbuild - change sysconfdir

Florian Weimer fweimer at redhat.com
Mon Sep 14 12:21:59 UTC 2015


On 09/14/2015 02:20 PM, arnaud gaboury wrote:
> On Mon, Sep 14, 2015 at 2:03 PM, arnaud gaboury
> <arnaud.gaboury at gmail.com> wrote:
>> On Mon, Sep 14, 2015 at 1:48 PM, Florian Weimer <fweimer at redhat.com> wrote:
>>> On 09/14/2015 09:52 AM, arnaud gaboury wrote:
>>>> For some practical reason, I want sysconfdir to be /etc/R, and not the
>>>> default /etc
>>>
>>> This will break quite a few RPM macros.  Why, exactly, do you want to do
>>> this?
>> The only reason is to gather in one place, /etc/R, all config files.
>> Nothing else. I usually tend to gather files in one directory as musch
>> as possible. More convenient when looking for specific files.
> 
>  I understand it can break macros wich rely on sysconfdir path, but in
> my case, I don't use a lot of macros in my spec file.

I'm worried about subtle breakage of things not even mentioned
explicitly in the spec file.

Why can't you type /etc/R?  it's even shorter.

-- 
Florian Weimer / Red Hat Product Security


More information about the devel mailing list