Make triggers also compile schemas in /app/share/glib-2.0/schemas

This commit is contained in:
Owen W. Taylor 2017-06-08 21:46:35 -04:00
parent 15854645a4
commit ab59613df6
1 changed files with 6 additions and 1 deletions

View File

@ -5,7 +5,7 @@
Name: glib2
Version: 2.52.2
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A library of handy utility functions
License: LGPLv2+
@ -145,9 +145,11 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules &> /dev/null || :
%transfiletriggerin -- %{_datadir}/glib-2.0/schemas
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
[ -e /app/share/glib-2.0/schemas ] && glib-compile-schemas /app/share/glib-2.0/schemas &> /dev/null || :
%transfiletriggerpostun -- %{_datadir}/glib-2.0/schemas
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
[ -e /app/share/glib-2.0/schemas ] && glib-compile-schemas /app/share/glib-2.0/schemas &> /dev/null || :
%files -f glib20.lang
%license COPYING
@ -232,6 +234,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/installed-tests
%changelog
* Thu Jun 8 2017 Owen Taylor <otaylor@redhat.com> - 2.52.2-3
- Make triggers also compile schemas in /app/share/glib-2.0/schemas
* Mon May 15 2017 Kalev Lember <klember@redhat.com> - 2.52.2-2
- Backport a gmain GWakeup patch to fix timedatex high CPU usage (#1450628)