rpms/widelands/devel widelands.spec,1.4,1.5
Karol Trzcionka (karlik)
fedora-extras-commits at redhat.com
Mon Sep 17 16:15:34 UTC 2007
Author: karlik
Update of /cvs/pkgs/rpms/widelands/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17280/widelands/devel
Modified Files:
widelands.spec
Log Message:
Fix update problems
Index: widelands.spec
===================================================================
RCS file: /cvs/pkgs/rpms/widelands/devel/widelands.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- widelands.spec 10 Sep 2007 14:57:01 -0000 1.4
+++ widelands.spec 17 Sep 2007 16:15:01 -0000 1.5
@@ -1,7 +1,7 @@
%define build_id build-11
Name: widelands
Version: 0
-Release: 0.6.build11%{?dist}
+Release: 0.7.build11%{?dist}
Summary: Open source realtime-strategy game
Group: Amusements/Games
@@ -66,6 +66,28 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%pre
+# preparing system before update
+cat << EOF | while read name; do rm -rf "%{_datadir}/widelands/maps/${name}.wmf"; done
+Checkmate
+Dry Riverbed
+Elven Forests
+Enemy in sight
+Finlakes
+Firegames
+Four Castles
+Glacier Lake
+Golden Peninsula
+Lake of tranquility
+Plateau
+Riverlands
+The Oasis Triangle
+The big lake
+The long way
+Two frontiers
+War of the Valleys
+EOF
+
%post
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
@@ -89,6 +111,8 @@
%{_datadir}/%{name}/*s*
%changelog
+* Mon Sep 17 2007 Karol Trzcionka <karlikt at gmail.com> - 0-0.7.build11
+- Fix update problems
* Mon Sep 10 2007 Karol Trzcionka <karlikt at gmail.com> - 0-0.6.build11
- Upgrade to build-11
* Sat Aug 25 2007 Karol Trzcionka <karlikt at gmail.com> - 0-0.5.build10
More information about the fedora-extras-commits
mailing list