Re: ibus in openSUSE 13.2: many ibus input engines can not save setting changes

Takashi Iwai <[email protected]>
Newsgroups gmane.linux.suse.m17n
Message-ID <[email protected]>
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: [email protected]
To contact the owner, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.