Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package powermanga for openSUSE:Factory checked in at 2021-08-29 21:34:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/powermanga (Old) and /work/SRC/openSUSE:Factory/.powermanga.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "powermanga" Sun Aug 29 21:34:08 2021 rev:5 rq:914886 version:0.93.1 Changes: -------- --- /work/SRC/openSUSE:Factory/powermanga/powermanga.changes 2017-04-12 18:18:58.726518729 +0200 +++ /work/SRC/openSUSE:Factory/.powermanga.new.1899/powermanga.changes 2021-08-29 21:34:21.958710853 +0200 @@ -1,0 +2,5 @@ +Thu Aug 26 18:06:51 UTC 2021 - Hans-Peter Jansen <h...@urpla.net> + +- generate startup code dynamically to cope with libexec relocation + +------------------------------------------------------------------- Old: ---- powermanga.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ powermanga.spec ++++++ --- /var/tmp/diff_new_pack.oVp7lI/_old 2021-08-29 21:34:22.542711661 +0200 +++ /var/tmp/diff_new_pack.oVp7lI/_new 2021-08-29 21:34:22.546711667 +0200 @@ -1,7 +1,7 @@ # # spec file for package powermanga # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,11 +20,10 @@ Version: 0.93.1 Release: 0 Summary: Arcade 2D shoot-them-up game -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Amusements/Games/Action/Arcade -Url: http://linux.tlk.fr/games/Powermanga/ +URL: http://linux.tlk.fr/games/Powermanga/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz -Source1: %{name}.sh %if 0%{?suse_version} BuildRequires: fdupes BuildRequires: hicolor-icon-theme @@ -56,9 +55,6 @@ make %{?_smp_mflags} CFLAGS="%{optflags} -std=c99" %install -# install wrapper -install -Dm 0755 %{S:1} %{buildroot}%{_bindir}/%{name} - # install executables and mans install -Dm 0755 src/%{name} %{buildroot}%{_libexecdir}/%{name}/%{name} install -Dm 0644 %{name}.6 %{buildroot}%{_mandir}/man6/%{name}.6 @@ -85,6 +81,16 @@ mkdir -p %{buildroot}%{_localstatedir}/games/%{name} touch %{buildroot}%{_localstatedir}/games/%{name}/{powermanga.hi-easy,powermanga.hi,powermanga.hi-hard} +# install wrapper +mkdir -p %{buildroot}%{_bindir} +cat > %{buildroot}%{_bindir}/%{name} << EOF +#!/bin/sh + +cd %{_libexecdir}/powermanga +exec ./powermanga "${@}" +EOF +chmod 0755 %{buildroot}%{_bindir}/%{name} + %if 0%{?suse_version} %suse_update_desktop_file %{name} %fdupes -s %{buildroot}%{_prefix}