Remove obsolete scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-06 16:17:56 +01:00
parent f1f368dce1
commit 7e462c5185
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -264,14 +264,7 @@ find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \;
%post -p /sbin/ldconfig
%postun
/sbin/ldconfig
if [ $1 -eq 0 ] ; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
fi
%posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%postun -p /sbin/ldcofig
%files
%license COPYING