[gnome-screenshot/f17] fix missing scriptlets
Matthias Clasen
mclasen at fedoraproject.org
Mon Apr 2 16:51:23 UTC 2012
commit d70231f10e25c46b25377c5567af74e9da8f0101
Author: Matthias Clasen <mclasen at redhat.com>
Date: Mon Apr 2 12:51:53 2012 -0400
fix missing scriptlets
gnome-screenshot.spec | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/gnome-screenshot.spec b/gnome-screenshot.spec
index 2c2f155..c9ce766 100644
--- a/gnome-screenshot.spec
+++ b/gnome-screenshot.spec
@@ -1,6 +1,6 @@
Name: gnome-screenshot
Version: 3.4.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A screenshot utility for GNOME
Group: Applications/System
@@ -38,6 +38,15 @@ make install DESTDIR=$RPM_BUILD_ROOT
%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 COPYING
%{_bindir}/gnome-screenshot
@@ -48,6 +57,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
%doc %{_mandir}/man1/gnome-screenshot.1.gz
%changelog
+* Mon Apr 2 2012 Matthias Clasen <mclasen at redhat.com> - 3.4.0-2
+- Add missing gsettings scriptlets (#808462)
+
* Mon Mar 26 2012 Cosimo Cecchi <cosimoc at redhat.com> - 3.4.0-1
- Update to 3.4.0
More information about the scm-commits
mailing list