Add scriptlet to compile GSchemas

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
Igor Gnatenko 2016-06-20 12:32:23 +02:00
parent 00b99102b3
commit 0519c34716

View File

@ -23,7 +23,7 @@ Summary: Text editor for the GNOME desktop
Name: gedit
Epoch: 2
Version: 3.20.2
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+ and GFDL
Group: Applications/Editors
#VCS: git:git://git.gnome.org/gedit
@ -136,10 +136,12 @@ touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
if [ $1 -eq 0 ]; then
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%files -f %{name}.lang
%doc README AUTHORS
@ -202,6 +204,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
%{_datadir}/vala/
%changelog
* Mon Jun 20 2016 Igor Gnatenko <ignatenko@redhat.com> - 2:3.20.2-2
- Add scriptlet to compile GSchemas
* Sun May 08 2016 Kalev Lember <klember@redhat.com> - 2:3.20.2-1
- Update to 3.20.2