[folks] fix file lists, too

Matthias Clasen mclasen at fedoraproject.org
Tue Jun 26 03:31:24 UTC 2012


commit 37f91c88a08a649c9e4f0d8c98eca755753f64c0
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Mon Jun 25 23:32:36 2012 -0400

    fix file lists, too

 folks.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/folks.spec b/folks.spec
index 451a04d..b92c655 100644
--- a/folks.spec
+++ b/folks.spec
@@ -80,14 +80,22 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 %post -p /sbin/ldconfig
 
 
-%postun -p /sbin/ldconfig
+%postun
+/sbin/ldconfig
+if [ $1 -eq 0 ]; then
+  glib-compile-schemas %{_datadir}/glib-2.0/schemas
+fi
 
+%posttrans
+glib-compile-schemas %{_datadir}/glib-2.0/schemas
 
 %files -f %{name}.lang
 %doc AUTHORS ChangeLog COPYING README
 %{_libdir}/*.so.*
 %{_libdir}/folks
 %{_libdir}/girepository-1.0/Folks-0.6.typelib
+%{_datadir}/GConf/gsettings/folks.convert
+%{_datadir}/glib-2.0/schemas/org.freedesktop.folks.gschema.xml
 
 %files tools
 %{_bindir}/%{name}-import


More information about the scm-commits mailing list