rpms/shared-mime-info/F-13 shared-mime-info.spec,1.84,1.85

Colin Walters walters at fedoraproject.org
Sat Jul 3 18:27:30 UTC 2010


Author: walters

Update of /cvs/pkgs/rpms/shared-mime-info/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv21812

Modified Files:
	shared-mime-info.spec 
Log Message:
* Sat Jul  3 2010 Colin Walters <walters at verbum.org> - 0.71-3
- Requires(pre) on glib, since update-mime-database uses it
- Remove /dev/null redirection, we should see future errors
  And really, RPM is dumb here - this stuff needs to go to
  log files.



Index: shared-mime-info.spec
===================================================================
RCS file: /cvs/pkgs/rpms/shared-mime-info/F-13/shared-mime-info.spec,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -p -r1.84 -r1.85
--- shared-mime-info.spec	1 Jun 2010 10:09:21 -0000	1.84
+++ shared-mime-info.spec	3 Jul 2010 18:27:30 -0000	1.85
@@ -1,7 +1,7 @@
 Summary: Shared MIME information database
 Name: shared-mime-info
 Version: 0.71
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 URL: http://freedesktop.org/Software/shared-mime-info
@@ -19,6 +19,8 @@ BuildRequires:  gettext
 BuildRequires: perl(XML::Parser) intltool
 Requires: pkgconfig
 
+Requires(pre): glib2
+
 %description
 This is the freedesktop.org shared MIME info database.
 
@@ -49,7 +51,7 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
 
 %post
 # Should fail, as it would mean a problem in the mime database
-%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
+%{_bindir}/update-mime-database %{_datadir}/mime
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -65,6 +67,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man*/*
 
 %changelog
+* Sat Jul  3 2010 Colin Walters <walters at verbum.org> - 0.71-3
+- Requires(pre) on glib, since update-mime-database uses it
+- Remove /dev/null redirection, we should see future errors
+  And really, RPM is dumb here - this stuff needs to go to
+  log files.
+
 * Tue Jun 01 2010 Bastien Nocera <bnocera at redhat.com> 0.71-2
 - Update some OO.o defaults, patch from Caolan McNamara
 



More information about the scm-commits mailing list