Accepting request 508404 from home:okurz:branches:games
Fix fatal error on startup referencing wrong data directory OBS-URL: https://build.opensuse.org/request/show/508404 OBS-URL: https://build.opensuse.org/package/show/games/widelands?expand=0&rev=37
This commit is contained in:
parent
80bbb76ec7
commit
0d72f3fcce
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 5 19:17:42 UTC 2017 - okurz@suse.com
|
||||
|
||||
- Fix fatal error on startup referencing wrong data directory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 22 07:43:39 UTC 2017 - okurz@suse.com
|
||||
|
||||
|
@ -92,7 +92,7 @@ sed -i 's/\(install(TARGETS ${NAME} DESTINATION \)"."\( COMPONENT ExecutableFile
|
||||
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-DWL_INSTALL_PREFIX=%{_prefix} \
|
||||
-DWL_INSTALL_BINDIR=bin \
|
||||
-DWL_INSTALL_DATADIR=share/%{name} \
|
||||
-DWL_INSTALL_DATADIR=%{_datadir}/%{name} \
|
||||
-DWL_INSTALL_LOCALEDIR=%{_datadir}/%{name}/locale \
|
||||
-DCMAKE_BUILD_TYPE="Release" \
|
||||
-DBoost_USE_STATIC_LIBS=OFF \
|
||||
@ -112,6 +112,8 @@ install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.deskt
|
||||
rm -f %{buildroot}%{_prefix}/{COPYING,CREDITS,ChangeLog,VERSION}
|
||||
|
||||
# No need to execute tests as they are already executed implicitly on install
|
||||
# instead do post-install test
|
||||
PATH=%{buildroot}%{_bindir}:$PATH widelands --help | grep 'This is Widelands'
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
Loading…
Reference in New Issue
Block a user