module-gsettings: compile schema after installation [release 12.2-2mamba;Tue Aug 21 2018]

This commit is contained in:
Silvan Calarco 2024-01-06 10:35:06 +01:00
parent 14304f8104
commit a44092a99b

View File

@ -5,7 +5,7 @@
%define majver %(echo %{version} | cut -d. -f 1-2)
Name: pulseaudio
Version: 12.2
Release: 1mamba
Release: 2mamba
Summary: Improved Linux sound server
Group: System/Libraries
Vendor: openmamba
@ -395,6 +395,17 @@ fi
%post -n lib%{name}-zeroconf -p /sbin/ldconfig
%postun -n lib%{name}-zeroconf -p /sbin/ldconfig
%post module-gsettings
if [ $1 -ge 1 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
:
%postun module-gsettings
if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
:
%files
%defattr(-,root,root)
@ -650,6 +661,9 @@ fi
#%{_libdir}/pulse-%{majver}/modules/*.a
%changelog
* Tue Aug 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 12.2-2mamba
- module-gsettings: compile schema after installation
* Tue Jul 17 2018 Automatic Build System <autodist@mambasoft.it> 12.2-1mamba
- automatic version update by autodist