Accepting request 991888 from games

- Fix name of installable binaries

OBS-URL: https://build.opensuse.org/request/show/991888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/godot?expand=0&rev=18
This commit is contained in:
Richard Brown 2022-08-01 19:32:41 +00:00 committed by Git OBS Bridge
commit 74e73feaa8
2 changed files with 19 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 29 11:22:45 UTC 2022 - Andreas Schwab <schwab@suse.de>
- Fix name of installable binaries
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Mar 26 12:00:00 UTC 2022 - cunix@mail.de Sat Mar 26 12:00:00 UTC 2022 - cunix@mail.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package godot # spec file for package godot
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2022 SUSE LLC
# Copyright (c) 2017 Luke Jones, luke.nukem.jones@gmail.com # Copyright (c) 2017 Luke Jones, luke.nukem.jones@gmail.com
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -332,7 +332,12 @@ scons %{build_args} platform=server tools=no target=release
%install %install
# Installing the editor # Installing the editor
install -D -p -m 755 bin/%{name}.x11.opt.tools.%{__isa_bits} %{buildroot}%{_bindir}/%{name} %ifarch riscv64
suffix=rv64
%else
suffix=%{__isa_bits}
%endif
install -D -p -m 755 bin/%{name}.x11.opt.tools.$suffix %{buildroot}%{_bindir}/%{name}
install -D -p -m 644 misc/dist/linux/godot.6 %{buildroot}/%{_mandir}/man6/%{name}.6%{?ext_man} install -D -p -m 644 misc/dist/linux/godot.6 %{buildroot}/%{_mandir}/man6/%{name}.6%{?ext_man}
install -D -p -m 644 icon.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.png install -D -p -m 644 icon.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
@ -342,13 +347,13 @@ install -D -p -m 644 misc/dist/linux/org.godotengine.Godot.appdata.xml %{buildr
%if !0%{?faster_build} %if !0%{?faster_build}
# Installing the headless editor # Installing the headless editor
install -D -p -m 755 bin/%{name}_server.x11.opt.tools.%{__isa_bits} %{buildroot}%{_bindir}/%{name}-headless install -D -p -m 755 bin/%{name}_server.x11.opt.tools.$suffix %{buildroot}%{_bindir}/%{name}-headless
# Installing the runner # Installing the runner
install -D -p -m 755 bin/%{name}.x11.opt.%{__isa_bits} %{buildroot}%{_bindir}/%{name}-runner install -D -p -m 755 bin/%{name}.x11.opt.$suffix %{buildroot}%{_bindir}/%{name}-runner
# Installing the server # Installing the server
install -D -p -m 755 bin/%{name}_server.x11.opt.%{__isa_bits} %{buildroot}%{_bindir}/%{name}-server install -D -p -m 755 bin/%{name}_server.x11.opt.$suffix %{buildroot}%{_bindir}/%{name}-server
%endif %endif
# Installing bash-completion # Installing bash-completion