[gnome-contacts/f17] fix file list
Matthias Clasen
mclasen at fedoraproject.org
Tue Feb 7 22:16:50 UTC 2012
commit b77fcad2684eae582674ba18124283de3bfc40a4
Author: Matthias Clasen <mclasen at redhat.com>
Date: Tue Feb 7 17:16:36 2012 -0500
fix file list
gnome-contacts.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/gnome-contacts.spec b/gnome-contacts.spec
index 1b3abc4..781d529 100644
--- a/gnome-contacts.spec
+++ b/gnome-contacts.spec
@@ -34,11 +34,19 @@ make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%find_lang %{name}
+%postun
+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 COPYING README NEWS TODO ChangeLog
%{_bindir}/%{name}
-%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
+%{_datadir}/glib-2.0/schemas/org.gnome.Contacts.gschema.xml
%changelog
More information about the scm-commits
mailing list