From a44092a99b1d81dff2c277590227277f1fd85f20 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:35:06 +0100 Subject: [PATCH] module-gsettings: compile schema after installation [release 12.2-2mamba;Tue Aug 21 2018] --- pulseaudio.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/pulseaudio.spec b/pulseaudio.spec index b173ce2..ad43aab 100644 --- a/pulseaudio.spec +++ b/pulseaudio.spec @@ -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 12.2-2mamba +- module-gsettings: compile schema after installation + * Tue Jul 17 2018 Automatic Build System 12.2-1mamba - automatic version update by autodist