Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package stardict-tools for openSUSE:Factory 
checked in at 2021-09-14 21:14:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/stardict-tools (Old)
 and      /work/SRC/openSUSE:Factory/.stardict-tools.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "stardict-tools"

Tue Sep 14 21:14:37 2021 rev:23 rq:918855 version:3.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/stardict-tools/stardict-tools.changes    
2017-12-19 10:58:56.048056656 +0100
+++ /work/SRC/openSUSE:Factory/.stardict-tools.new.1899/stardict-tools.changes  
2021-09-14 21:14:57.896438911 +0200
@@ -1,0 +2,7 @@
+Fri Aug 27 05:45:11 UTC 2021 - Steve Kowalik <[email protected]>
+
+- Add patch: python3-support.patch
+  * Convert all Python 2 scripts to Python 3
+- Remove shebang mangling from the specfile for python scripts. 
+
+-------------------------------------------------------------------

New:
----
  python3-support.patch

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

Other differences:
------------------
++++++ stardict-tools.spec ++++++
--- /var/tmp/diff_new_pack.yrFPVj/_old  2021-09-14 21:14:58.544439547 +0200
+++ /var/tmp/diff_new_pack.yrFPVj/_new  2021-09-14 21:14:58.544439547 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package stardict-tools
 #
-# 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,9 +20,9 @@
 Version:        3.0.1
 Release:        0
 Summary:        StarDict Editor
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Productivity/Office/Dictionary
-Url:            http://stardict.sourceforge.net
+URL:            http://stardict.sourceforge.net
 Source:         %{name}-%{version}.tar.bz2
 Source1:        %{name}.README.SUSE
 Source2:        stardict-editor.png
@@ -32,6 +32,7 @@
 Patch3:         stardict-tools-3.0.1-gcc44.patch
 Patch4:         stardict-tools-3.0.1-gcc6.patch
 Patch5:         stardict-tools-3.0.1-wikipediaImage.patch
+Patch6:         python3-support.patch
 BuildRequires:  dos2unix
 BuildRequires:  gcc-c++
 BuildRequires:  gtk2-devel >= 2.6.0
@@ -61,6 +62,7 @@
 %patch3
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 autoreconf -fiv
@@ -84,15 +86,8 @@
        fi
 done
 # install scripts in sharedir
-for file in uyghur2dict.py mkguangyunst.py stmerge.py 
KangXiZiDian-djvu2tiff.py; do
-       echo '#!%{_bindir}/python' > "${file}.tmp"
-       cat "$file" >> "${file}.tmp"
-       mv -f "${file}.tmp" "$file"
-       chmod 755 "$file"
-done
 for file in *.py *.pl *.perl; do
   dos2unix -q -n $file %{buildroot}/%{_datadir}/%{name}/$file
-  sed -i 's|^#!%{_bindir}/env python.*|#!%{_bindir}/python|' 
%buildroot/%{_datadir}/%{name}/$file
   chmod 755 %{buildroot}/%{_datadir}/%{name}/$file
 done
 popd 1>/dev/null

++++++ python3-support.patch ++++++
++++ 602 lines (skipped)

Reply via email to