Another fix
OBS-URL: https://build.opensuse.org/package/show/games/widelands?expand=0&rev=14
This commit is contained in:
parent
2ae913cc27
commit
47c943b093
@ -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,-)
|
||||
|
Loading…
Reference in New Issue
Block a user