On 09/12/2017 04:00 PM, RPM Fusion Bugzilla wrote:
*Comment # 4 <
https://bugzilla.rpmfusion.org/show_bug.cgi?id=4647#c4>
on bug 4647 <
https://bugzilla.rpmfusion.org/show_bug.cgi?id=4647> from
Richard <mailto:hobbes1069@gmail.com> *
(In reply to Nicolas Chauvet from comment #1 <show_bug.cgi?id=4647#c1>)
> %ghost is availabe with EL6. I don't understand why you think it was not. >
What is available with newer OS is that it does not require the
file to be > pre-created (so you need to use touch for EL6).
Ok, I'm digging into this a bit more... If I have to "touch" the file so
that
it exists, doesn't that completely contradict the whole reason for using
%ghost?
This is what I have for the cjdns package in EPEL, it works for EL6, and
the SPEC file does not use touch. Maybe what Nicolas meant is that
*something* has to eventually create the file. In the case of cjdns, it
gets created when starting the service if it doesn't already exist.
%ghost %attr(0600,root,root) %config(missingok,noreplace)
%{_sysconfdir}/cjdroute.conf