summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalev Lember <kalevlember@gmail.com>2012-04-24 18:19:26 +0300
committerKalev Lember <kalevlember@gmail.com>2012-04-24 18:19:26 +0300
commita21e0f8f6b85aa406fec37e6b8cc405f752ffd0c (patch)
tree31fecd65827eaf3d9b5b02ccb8deec94b73f9dde
parent44b4c9bd22da160170c876232165318dbf59f645 (diff)
downloadgnome-panel-a21e0f8f6b85aa406fec37e6b8cc405f752ffd0c.tar.gz
gnome-panel-a21e0f8f6b85aa406fec37e6b8cc405f752ffd0c.tar.xz
gnome-panel-a21e0f8f6b85aa406fec37e6b8cc405f752ffd0c.zip
Silence rpm scriptlet output
Redirect it to /dev/null; end users aren't supposed to see the warnings generated by e.g. glib-compile-schemas. http://fedoraproject.org/wiki/Packaging:ScriptletSnippets
-rw-r--r--gnome-panel.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/gnome-panel.spec b/gnome-panel.spec
index 716a6a1..93e19f7 100644
--- a/gnome-panel.spec
+++ b/gnome-panel.spec
@@ -21,7 +21,7 @@
Summary: GNOME panel
Name: gnome-panel
Version: 3.4.1
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://www.gnome.org
#VCS: git:git://git.gnome.org/gnome-panel
Source0: http://download.gnome.org/sources/gnome-panel/3.4/%{name}-%{version}.tar.xz
@@ -209,12 +209,12 @@ touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
if [ $1 -eq 0 ]; then
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
gtk-update-icon-cache -q %{_datadir}/icons/hicolor >&/dev/null || :
- glib-compile-schemas %{_datadir}/glib-2.0/schemas
+ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
fi
%posttrans
gtk-update-icon-cache -q %{_datadir}/icons/hicolor >&/dev/null || :
-glib-compile-schemas %{_datadir}/glib-2.0/schemas
+glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
%files -f %{gettext_package}.lang
@@ -263,6 +263,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas
%{_datadir}/gir-1.0/PanelApplet-4.0.gir
%changelog
+* Tue Apr 24 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1-2
+- Silence rpm scriptlet output
+
* Mon Apr 16 2012 Richard Hughes <hughsient@gmail.com> - 3.4.1-1
- Update to 3.4.1