Accepting request 335154 from home:tiwai:branches:M17N

- Add missing post/postun macro calls for updating desktops and
  icons (boo#947842)
- Remove superfluous ldconfig calls from the main package
  post/postun

OBS-URL: https://build.opensuse.org/request/show/335154
OBS-URL: https://build.opensuse.org/package/show/M17N/fcitx?expand=0&rev=122
This commit is contained in:
Takashi Iwai 2015-10-01 09:54:59 +00:00 committed by Git OBS Bridge
parent a669d04c54
commit d05fed8b85
2 changed files with 18 additions and 3 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Oct 1 11:30:10 CEST 2015 - tiwai@suse.de
- Add missing post/postun macro calls for updating desktops and
icons (boo#947842)
- Remove superfluous ldconfig calls from the main package
post/postun
-------------------------------------------------------------------
Wed Oct 1 06:06:23 UTC 2015 - hillwood@linuxfans.org

View File

@ -54,16 +54,17 @@ BuildRequires: fdupes
%if 0%{?suse_version} > 1110
BuildRequires: libqt4-devel
%endif
BuildRequires: pkgconfig(lua)
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: gtk2-devel
BuildRequires: opencc-devel
BuildRequires: pkgconfig(lua)
%if 0%{?suse_version} >= 1140
BuildRequires: gobject-introspection-devel
BuildRequires: gtk3-devel
%endif
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: libicu-devel
BuildRequires: libxml2-devel
BuildRequires: pkg-config
@ -489,9 +490,15 @@ fi
%endif
%post -p /sbin/ldconfig
%post
%desktop_database_post
%icon_theme_cache_post
exit 0
%postun -p /sbin/ldconfig
%postun
%desktop_database_postun
%icon_theme_cache_postun
exit 0
%post -n lib%{name}%{libver} -p /sbin/ldconfig