Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openttd-openmsx for openSUSE:Factory 
checked in at 2022-11-17 17:24:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openttd-openmsx (Old)
 and      /work/SRC/openSUSE:Factory/.openttd-openmsx.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openttd-openmsx"

Thu Nov 17 17:24:55 2022 rev:9 rq:1036432 version:0.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/openttd-openmsx/openttd-openmsx.changes  
2021-12-02 02:19:23.245835588 +0100
+++ 
/work/SRC/openSUSE:Factory/.openttd-openmsx.new.1597/openttd-openmsx.changes    
    2022-11-17 17:25:11.449283294 +0100
@@ -1,0 +2,6 @@
+Mon Nov 14 04:40:57 UTC 2022 - Steve Kowalik <[email protected]>
+
+- Switch to using Python 3 by updating BuildRequires and fixing
+  shebangs of install scripts. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ openttd-openmsx.spec ++++++
--- /var/tmp/diff_new_pack.UIJoV5/_old  2022-11-17 17:25:12.005286240 +0100
+++ /var/tmp/diff_new_pack.UIJoV5/_new  2022-11-17 17:25:12.009286261 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openttd-openmsx
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 Group:          Amusements/Games/Strategy/Other
 URL:            https://github.com/OpenTTD/OpenMSX
 Source0:        
https://cdn.openttd.org/openmsx-releases/%{version}/openmsx-%{version}-source.tar.xz
-BuildRequires:  python
+BuildRequires:  python3
 Requires:       openttd-data >= 1.2
 Recommends:     fluid-soundfont-gm
 BuildArch:      noarch
@@ -34,6 +34,9 @@
 
 %prep
 %setup -q -n openmsx-%{version}-source
+for script in scripts/*.py ; do
+    sed -i "s,\(^#!\) /usr/bin/env python$,\1%{_bindir}/python3," $script
+done
 
 %build
 %make_build PYTHON=%{_bindir}/python3 REPO_VERSION=%{version} _V=

Reply via email to