From 47c943b0934a09effe9409dd9ecb6f3fcf2a2fbd09a1d804fc6767b3d6945c91 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 1 May 2009 21:54:17 +0000 Subject: [PATCH] Another fix OBS-URL: https://build.opensuse.org/package/show/games/widelands?expand=0&rev=14 --- widelands.spec | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/widelands.spec b/widelands.spec index f189c2d..988f45a 100644 --- a/widelands.spec +++ b/widelands.spec @@ -40,7 +40,7 @@ perhaps will have a thought, what Widelands is all about. sed -i 's#flagi#%{optflags}##' build/scons-tools/scons_configure.py %build -export CCFLAGS="$RPM_OPT_FLAGS" +export extra_compile_flags=$RPM_OPT_FLAGS" scons build=release datadir=%{_datadir}/%{name} bindir=%{_bindir} localedir=%{_datadir}/%{name}/locale build_id=%{build_id} # ./build-widelands.sh @@ -63,27 +63,27 @@ find usr/share/widelands/locale/ -maxdepth 1 -type d -name \*_\* | sed -n 's#\( %clean rm -rf $RPM_BUILD_ROOT -%pre +# %%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 +# 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 %files -f %{name}.files %defattr(-,root,root,-)