Rely on glib file triggers
This commit is contained in:
parent
7c7a3abdf0
commit
73ec9da525
13
gtk3.spec
13
gtk3.spec
@ -18,7 +18,7 @@
|
||||
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
|
||||
Name: gtk3
|
||||
Version: 3.17.6
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.gtk.org
|
||||
@ -93,6 +93,10 @@ Obsoletes: gtk3-engines <= 2.91.5-5.fc15
|
||||
Obsoletes: gtk-solidity-engine < 0.4.1-9
|
||||
Obsoletes: oxygen-gtk3 < 2:1.4.1
|
||||
|
||||
# for file triggers
|
||||
Requires: glib2 >= 2.45.4-2
|
||||
|
||||
|
||||
%description
|
||||
GTK+ is a multi-platform toolkit for creating graphical user
|
||||
interfaces. Offering a complete set of widgets, GTK+ is suitable for
|
||||
@ -226,10 +230,8 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
gtk-query-immodules-3.0-%{__isa_bits} --update-cache
|
||||
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
|
||||
@ -243,10 +245,8 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache
|
||||
if [ $1 -gt 0 ]; then
|
||||
gtk-query-immodules-3.0-%{__isa_bits} --update-cache
|
||||
fi
|
||||
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 || :
|
||||
@ -352,6 +352,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%{_datadir}/installed-tests
|
||||
|
||||
%changelog
|
||||
* Fri Aug 14 2015 Matthias Clasen <mclasen@redhat.com> - 3.17.6-2
|
||||
- Rely on glib file triggers
|
||||
|
||||
* Wed Aug 5 2015 Matthias Clasen <mclasen@redhat.com> - 3.17.6-1
|
||||
- Update to 3.17.6
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user