rpms/wxMaxima/devel wxMaxima.spec,1.7,1.8

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Mon Dec 18 19:35:39 UTC 2006


Author: rdieter

Update of /cvs/extras/rpms/wxMaxima/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28373

Modified Files:
	wxMaxima.spec 
Log Message:
* Mon Dec 18 2006 Rex Dieter <rdieter[AT]fedoraproject.org> 0.7.0a-5
- use xdg-utils in scriptlets



Index: wxMaxima.spec
===================================================================
RCS file: /cvs/extras/rpms/wxMaxima/devel/wxMaxima.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- wxMaxima.spec	22 Nov 2006 16:19:21 -0000	1.7
+++ wxMaxima.spec	18 Dec 2006 19:35:09 -0000	1.8
@@ -5,7 +5,7 @@
 Summary: Graphical user interface for Maxima 
 Name:    wxMaxima
 Version: 0.7.0a
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: GPL
 Group:   Applications/Engineering
 URL:     http://wxmaxima.sourceforge.net/
@@ -21,6 +21,8 @@
 BuildRequires: sed
 
 Requires: maxima >= 5.10
+Requires(post): xdg-utils
+Requires(postun): xdg-utils
 
 %description
 A Graphical user interface for the computer algebra system
@@ -78,12 +80,10 @@
 
 
 %post
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+%{_bindir}/xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
 
 %postun
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+%{_bindir}/xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
 
 
 %files -f wxMaxima.lang
@@ -98,6 +98,9 @@
 
 
 %changelog
+* Mon Dec 18 2006 Rex Dieter <rdieter[AT]fedoraproject.org> 0.7.0a-5
+- use xdg-utils in scriptlets
+
 * Wed Nov 22 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.0a-4
 - --remove-category=Science;Utility (#215748)
 




More information about the fedora-extras-commits mailing list