rpms/XaraLX/FC-5 XaraLX.spec,1.1,1.2

Paul F. Johnson (pfj) fedora-extras-commits at redhat.com
Wed Aug 9 12:09:01 UTC 2006


Author: pfj

Update of /cvs/extras/rpms/XaraLX/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6225

Modified Files:
	XaraLX.spec 
Log Message:

Fix for noisy mime-update 
 	XaraLX.spec 



Index: XaraLX.spec
===================================================================
RCS file: /cvs/extras/rpms/XaraLX/FC-5/XaraLX.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XaraLX.spec	1 Aug 2006 22:07:30 -0000	1.1
+++ XaraLX.spec	9 Aug 2006 12:09:01 -0000	1.2
@@ -3,7 +3,7 @@
 Name:		XaraLX
 Summary: 	Vector/general purpose graphics utility
 Version:	0.7
-Release:	2%{?dist}.%{buildRev}
+Release:	3%{?dist}.%{buildRev}
 License:	GPL
 Group:		Applications/Publishing
 Source0:	http://downloads.xara.com/opensource/%{name}-%{version}%{buildRev}.tar.bz2
@@ -71,14 +71,10 @@
 rm -rf %{buildroot}
 
 %post
-if which update-mime-database>/dev/null 2>&1; then \
-   update-mime-database %{_datadir}/mime; \
-fi
+update-mime-database %{_datadir}/mime &> /dev/null || :
 
 %postun
-if which update-mime-database>/dev/null 2>&1; then \
-   update-mime-database %{_datadir}/mime; \
-fi
+update-mime-database %{_datadir}/mime &> /dev/null || :
 
 %files
 %defattr(-,root,root)
@@ -95,6 +91,9 @@
 %{_docdir}/XaraLX/examples
 
 %changelog
+* Wed Aug 09 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 0.7-3.r1614
+- fixed noisy mime update
+
 * Mon Jul 31 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 0.7-2.r1614
 - patched the desktop file
 




More information about the fedora-extras-commits mailing list