Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sdlpop for openSUSE:Factory checked 
in at 2024-06-27 16:02:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sdlpop (Old)
 and      /work/SRC/openSUSE:Factory/.sdlpop.new.18349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sdlpop"

Thu Jun 27 16:02:24 2024 rev:9 rq:1183438 version:1.23

Changes:
--------
--- /work/SRC/openSUSE:Factory/sdlpop/sdlpop.changes    2024-04-07 
22:15:24.535268201 +0200
+++ /work/SRC/openSUSE:Factory/.sdlpop.new.18349/sdlpop.changes 2024-06-27 
16:03:18.758634039 +0200
@@ -1,0 +2,6 @@
+Wed Jun 26 13:03:09 UTC 2024 - Andrea Manzini <andrea.manz...@suse.com>
+
+- moved binary to /usr/bin and asset data to /usr/share/sdlpop 
+  (https://bugzilla.suse.com/show_bug.cgi?id=1226830)
+
+-------------------------------------------------------------------

New:
----
  sdlpop.wrapper

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sdlpop.spec ++++++
--- /var/tmp/diff_new_pack.TOVY1F/_old  2024-06-27 16:03:19.682667988 +0200
+++ /var/tmp/diff_new_pack.TOVY1F/_new  2024-06-27 16:03:19.682667988 +0200
@@ -23,7 +23,8 @@
 License:        GPL-3.0-only
 Group:          Amusements/Games/Other
 URL:            https://www.popot.org/get_the_games.php?game=SDLPoP
-Source:         
https://github.com/NagyD/SDLPoP/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source0:        
https://github.com/NagyD/SDLPoP/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source1:        sdlpop.wrapper
 Patch0:         sdlpop-fix-sdl2-includes.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -53,26 +54,24 @@
 
 %install
 install -d %{buildroot}/%{_bindir}
-install -Dm0755 prince %{buildroot}/%{_libexecdir}/%{name}/%{name}
+install -Dm0755 prince %{buildroot}/%{_bindir}
 install -Dm0644 data/icon.png 
%{buildroot}/%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
-install -d %{buildroot}/%{_libexecdir}/%{name}
-install SDLPoP.ini %{buildroot}/%{_libexecdir}/%{name}
-mv data/ %{buildroot}/%{_libexecdir}/%{name}
+install -d %{buildroot}/%{_datadir}/%{name}
+install SDLPoP.ini %{buildroot}/%{_datadir}/%{name}
+mv data/ %{buildroot}/%{_datadir}/%{name}
 %suse_update_desktop_file -c %{name} %{name} "Platformer" %{name} %{name} Game 
ActionGame
-
-%fdupes %{buildroot}/%{_libexecdir}/%{name}
+%fdupes %{buildroot}/%{_datadir}
 
 # Install Wrapper
-cat > %{buildroot}%{_bindir}/%{name} << EOF
-#!/bin/sh
-exec "%{_libexecdir}/%{name}/\${0##*/}" \$@
-EOF
+install -Dm0755 %{SOURCE1} %{buildroot}%{_bindir}/%{name}
+ln -s %{_bindir}/prince %{buildroot}%{_datadir}/%{name}
 
 %files
 %doc README.md doc/tiles.md doc/mod.ini doc/ChangeLog.txt
 %license COPYING
 %attr(0755,root,root) %{_bindir}/sdlpop
-%{_libexecdir}/%{name}
+%{_bindir}/prince
+%{_datadir}/%{name}
 %{_datadir}/icons/hicolor/32x32/apps/sdlpop.png
 %{_datadir}/applications/sdlpop.desktop
 

++++++ sdlpop.wrapper ++++++
#!/bin/sh
exec "/usr/share/sdlpop/prince" $@

Reply via email to