At Fri, 27 Mar 2015 02:20:11 +0900, Fuminobu TAKEYAMA wrote:
It's exactly the purpose of %ghost: the files should be removed by package removal but the package itself doesn't contain the files.
Why %ghost is used at all? For clearing %config attribute?
I expected that the %ghost file is just removed by package removal. I was wrong.
From 13.2, it seems that %ghost files are not copied into rpms anymore even though the files exist in %{buildroot}
What is the best way?
# it looks ok to make these files normal ones (but warnings) %{_sysconfdir}/dconf/db/ibus.d/00-upstream-settings %{_sysconfdir}/dconf/profile/ibus
Also remove %config from %{_sysconfdir}/dconf/db/ibus.d, too. Just keep it simple. What kind of warning do you get?
# we do not manage this by rpm? %postun rm -f %{_sysconfdir}/dconf/db/ibus
This would break the update.
# or keep this ghost? %ghost %{_sysconfdir}/dconf/db/ibus
I guess this is bogus, too. Takashi -- To unsubscribe, e-mail: opensuse-m17n+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-m17n+owner@opensuse.org