Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
de7b7e55e9
commit
cc28ae0f2e
@ -1,6 +1,6 @@
|
||||
Name: libgnomekbd
|
||||
Version: 3.26.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A keyboard configuration library
|
||||
|
||||
License: LGPLv2+
|
||||
@ -62,21 +62,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gkbd-keyboard-disp
|
||||
%preun
|
||||
%gconf_schema_remove desktop_gnome_peripherals_keyboard_xkb
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 0 ]; then
|
||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
fi
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING.LIB
|
||||
@ -96,6 +84,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.0-2
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Wed Sep 13 2017 Kalev Lember <klember@redhat.com> - 3.26.0-1
|
||||
- Update to 3.26.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user