[folks] Silence glib-compile-schemas scriplets
Kalev Lember
kalev at fedoraproject.org
Wed Sep 19 16:05:32 UTC 2012
commit c8012beebbe5065aeaec6076f34edcd41856d01b
Author: Kalev Lember <kalevlember at gmail.com>
Date: Wed Sep 19 18:04:50 2012 +0200
Silence glib-compile-schemas scriplets
... by redirecting the output to /dev/null.
http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema
folks.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/folks.spec b/folks.spec
index 4e73a6f..2dc6cc4 100644
--- a/folks.spec
+++ b/folks.spec
@@ -4,7 +4,7 @@
Name: folks
Epoch: 1
Version: 0.7.4.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: GObject contact aggregation library
Group: System Environment/Libraries
@@ -80,11 +80,11 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%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 AUTHORS ChangeLog COPYING README
@@ -107,6 +107,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas
%changelog
+* Wed Sep 19 2012 Kalev Lember <kalevlember at gmail.com> - 1:0.7.4.1-2
+- Silence glib-compile-schemas scriplets
+
* Wed Sep 12 2012 Brian Pepple <bpepple at fedoraproject.org> - 1:0.7.4.1-1
- Update to 0.7.4.1.
- Bump minimum requirement for tp-glib and vala.
More information about the scm-commits
mailing list