Am Do., 11. Okt. 2018 um 09:57 Uhr schrieb Dominik 'Rathann'
Mierzejewski <dominik(a)greysector.net>:
On Thursday, 11 October 2018 at 09:42, Christopher Engelhard wrote:
> This implies that the spec contains multiple /etc/sshguard.conf files. I
> can ship them as %doc sshguard.conf.<backend>, and then cp them to
> sshguard.conf during %post <subpackage>, but then no package would own
> that file, right?
You can use %ghost to own a file that is created in %post or at runtime.
Also, there's no problem if two conflicting packages own the same file.
But be aware that packages might be installed omitting docs, and thus
that copying step would fail.
Regards,
Thomas