remove %post operations implemented by gdk-pixbuf and glib triggers [release 4.14.3-2mamba;Sun Apr 21 2024]

This commit is contained in:
Silvan Calarco 2024-04-22 16:05:10 +02:00
parent 9a4aad6c9f
commit 54291b7d30

View File

@ -4,7 +4,7 @@
Name: libgtk
Version: 4.14.3
Release: 1mamba
Release: 2mamba
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs
Group: System/Libraries
Vendor: openmamba
@ -137,28 +137,8 @@ rm -rf %{buildroot}%{_mandir}/man1/gtk-update-icon-cache.1*
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post
/sbin/ldconfig
#%{_bindir}/gtk-query-immodules-%{libver} --update-cache
%{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
:
%postun
/sbin/ldconfig
#if [ $1 -gt 0 ]; then
# %{_bindir}/gtk-query-immodules-%{libver} --update-cache
#fi
%{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
:
%posttrans
FS=`stat -c %s %{_sysconfdir}/gtk-%{libver}/gtk-pixbuf.loaders 2>/dev/null`
[ "$FS" == "0" -o ! "$FS" ] && \
%{_bindir}/gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-%{libver}/gdk-pixbuf.loaders
#FS=`stat -c %s %{_sysconfdir}/gtk-%{libver}/gtk.immodules 2>/dev/null`
#[ "$FS" == "0" -o ! "$FS" ] && \
# %{_bindir}/gtk-query-immodules-%{libver} > %{_sysconfdir}/gtk-%{libver}/gtk.immodules
#exit 0
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
@ -302,6 +282,9 @@ FS=`stat -c %s %{_sysconfdir}/gtk-%{libver}/gtk-pixbuf.loaders 2>/dev/null`
#%doc ChangeLog HACKING NEWS README
%changelog
* Sun Apr 21 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.3-2mamba
- remove %post operations implemented by gdk-pixbuf and glib triggers
* Fri Apr 19 2024 Automatic Build System <autodist@openmamba.org> 4.14.3-1mamba
- automatic version update by autodist