Revert "Add scriptlet to compile GSchemas"

There is special file trigger.

This reverts commit 0519c34716.
This commit is contained in:
Igor Gnatenko 2016-06-20 12:37:56 +02:00
parent 0519c34716
commit 45e73fc325

View File

@ -23,7 +23,7 @@ Summary: Text editor for the GNOME desktop
Name: gedit
Epoch: 2
Version: 3.20.2
Release: 2%{?dist}
Release: 1%{?dist}
License: GPLv2+ and GFDL
Group: Applications/Editors
#VCS: git:git://git.gnome.org/gedit
@ -136,12 +136,10 @@ 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
@ -204,9 +202,6 @@ 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