On 05/06/2018 04:29 AM, Rex Dieter wrote:
Rex Dieter wrote:
> Germano Massullo wrote:
>
>> Today I have received pull request [1].
>> Since line 62
>> %dir %{_sysconfdir}/opt/chrome/native-messaging-hosts/
>> means
>> /etc/opt/chrome/native-messaging-hosts/
>> and since packaging guidelines [2] say that a package may only use
>> directories in the |/opt/fedora,|
>
> I don't think that guideline applies, as it concerns only stuff under
> /opt, not /etc (or /etc/opt)
Having actually read the guideline now, it *does* apply to /etc/opt too.
Sorry
I think it's perfectly fine to drop a config file in /etc/opt/chrome to
interact with Chrome that uses that directory.
The spirit of the guidelines is to avoid using /opt and /etc/opt for
software that fedora ships (and instead install to /usr and /etc). But
this is a different case; Fedora doesn't ship Chrome and the package in
question is an extension to Chrome and needs to put files in
/etc/opt/chrome. This should be perfectly in line with the spirit of the
guidelines.
Kalev