rpms/openttd/F-10 openttd.spec,1.1,1.2
Felix Kaechele
heffer at fedoraproject.org
Fri May 29 16:00:04 UTC 2009
Author: heffer
Update of /cvs/pkgs/rpms/openttd/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25069
Modified Files:
openttd.spec
Log Message:
* Fri May 29 2009 Felix Kaechele <heffer at fedoraproject.org> - 0.7.1-0.3.rc2
- updated icon cache scriptlets
Index: openttd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openttd/F-10/openttd.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- openttd.spec 29 May 2009 15:50:03 -0000 1.1
+++ openttd.spec 29 May 2009 15:59:34 -0000 1.2
@@ -3,7 +3,7 @@
Name: openttd
Version: 0.7.1
-Release: 0.2.rc2%{?dist}
+Release: 0.3.rc2%{?dist}
Summary: Transport system simulation game
Group: Amusements/Games
@@ -61,6 +61,7 @@ make %{?_smp_mflags} VERBOSE=1
cd src/ai/api
doxygen
+
%install
rm -rf $RPM_BUILD_ROOT
make install VERBOSE=1
@@ -84,17 +85,17 @@ rm -rf $RPM_BUILD_ROOT
%post
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
%files
%defattr(-,root,root,-)
@@ -115,6 +116,9 @@ fi
%changelog
+* Fri May 29 2009 Felix Kaechele <heffer at fedoraproject.org> - 0.7.1-0.3.rc2
+- updated icon cache scriptlets
+
* Thu May 28 2009 Felix Kaechele <heffer at fedoraproject.org> - 0.7.1-0.2.rc2
- 0.7.1-RC2
- build docs from source
More information about the fedora-extras-commits
mailing list