Silence glib-compile-schemas scriplets

... by redirecting the output to /dev/null.

http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema
This commit is contained in:
Kalev Lember 2012-04-18 00:12:18 +03:00
parent e064f06bff
commit 938500f829
1 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,6 @@
Name: mutter
Version: 3.4.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Window and compositing manager based on Clutter
Group: User Interface/Desktops
@ -99,11 +99,11 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%postun
/sbin/ldconfig
if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
%posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%files -f %{name}.lang
%doc README AUTHORS COPYING NEWS HACKING doc/theme-format.txt
@ -131,6 +131,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas
%doc %{_mandir}/man1/mutter-window-demo.1.gz
%changelog
* Wed Apr 18 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1-2
- Silence glib-compile-schemas scriplets
* Wed Apr 18 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1-1
- Update to 3.4.1
- Conflict with gnome-shell versions older than 3.4.1