Run icon cache scriptlets for the -devel subpackage
This commit is contained in:
parent
791296421c
commit
10026dc904
@ -221,6 +221,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
|
||||
%post devel
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%post immodules
|
||||
gtk-query-immodules-3.0-%{__isa_bits} --update-cache
|
||||
@ -240,6 +241,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
|
||||
%postun devel
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
fi
|
||||
|
||||
%postun immodules
|
||||
gtk-query-immodules-3.0-%{__isa_bits} --update-cache
|
||||
@ -247,6 +252,9 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache
|
||||
%postun immodule-xim
|
||||
gtk-query-immodules-3.0-%{__isa_bits} --update-cache
|
||||
|
||||
%posttrans devel
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%files -f gtk30.lang
|
||||
%doc AUTHORS COPYING NEWS README
|
||||
%{_bindir}/gtk-query-immodules-3.0*
|
||||
@ -338,6 +346,7 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache
|
||||
* Wed Dec 17 2014 Kalev Lember <kalevlember@gmail.com> - 3.15.3-1
|
||||
- Update to 3.15.3
|
||||
- Add gtk-update-icon-cache subpackage that both gtk2 and gtk3 can depend on
|
||||
- Run icon cache scriptlets for the -devel subpackage
|
||||
|
||||
* Mon Nov 24 2014 Kalev Lember <kalevlember@gmail.com> - 3.15.2-1
|
||||
- Update to 3.15.2
|
||||
|
Loading…
Reference in New Issue
Block a user