Hello community,

here is the log from the commit of package gtkpod for openSUSE:Factory checked 
in at 2020-03-08 22:24:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gtkpod (Old)
 and      /work/SRC/openSUSE:Factory/.gtkpod.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gtkpod"

Sun Mar  8 22:24:14 2020 rev:44 rq:782598 version:2.1.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/gtkpod/gtkpod.changes    2020-01-31 
23:57:06.899646119 +0100
+++ /work/SRC/openSUSE:Factory/.gtkpod.new.26092/gtkpod.changes 2020-03-08 
22:24:28.884090197 +0100
@@ -1,0 +2,7 @@
+Wed Mar  4 17:16:03 UTC 2020 - Antonio Larrosa <alarr...@suse.com>
+
+- Add patch to port a script to python3:
+  * use-python3.patch
+- Use %license
+
+-------------------------------------------------------------------

New:
----
  use-python3.patch

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

Other differences:
------------------
++++++ gtkpod.spec ++++++
--- /var/tmp/diff_new_pack.k2P6dJ/_old  2020-03-08 22:24:29.848090792 +0100
+++ /var/tmp/diff_new_pack.k2P6dJ/_new  2020-03-08 22:24:29.852090795 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gtkpod
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@
 Source0:        
http://downloads.sourceforge.net/project/gtkpod/gtkpod/gtkpod-2.1.5/%{name}-%{version}.tar.gz
 # PATCH-FEATURE-OPENSUSE gtkpod-pref.patch -- Preferences to mountpoint and 
some tag preferences
 Patch0:         gtkpod-pref.patch
+# PATCH-FEATURE-UPSTREAM use-python3.patch -- Use python3
+Patch1:         use-python3.patch
 BuildRequires:  fdupes
 BuildRequires:  flex
 BuildRequires:  gcc-c++
@@ -98,6 +100,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %configure --disable-static
@@ -135,7 +138,8 @@
 %postun -n libatomicparsley0 -p /sbin/ldconfig
 
 %files
-%doc README NEWS INSTALL COPYING ChangeLog AUTHORS
+%doc README NEWS INSTALL ChangeLog AUTHORS
+%license COPYING
 %{_bindir}/gtkpod
 %{_datadir}/gtkpod/
 %{_datadir}/icons/hicolor/*/*/*.png

++++++ use-python3.patch ++++++
Index: gtkpod-2.1.5/scripts/sync-palm-jppy.py
===================================================================
--- gtkpod-2.1.5.orig/scripts/sync-palm-jppy.py
+++ gtkpod-2.1.5/scripts/sync-palm-jppy.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # Script for syncing Palm addressbook data with iPod via Jppy
 # (c) 2005 Nick Piper <nick at nickpiper dot co dot uk>
 #
@@ -52,7 +52,7 @@ parser.add_option("-q", "--quiet",
 (options, args) = parser.parse_args()
 
 if options.verbose:
-    print "Trying to export from Jppy:"
+    print("Trying to export from Jppy:")
 
 dir = os.path.join(options.mountpoint,"Contacts")
 if not os.path.exists(dir):
@@ -74,4 +74,4 @@ for fn in glob.glob(os.path.join(dir,"jp
         os.unlink(fn)
         
 if options.verbose:
-    print "Saved %d records, removed %d records." % (n,r)
+    print("Saved %d records, removed %d records." % (n,r))

Reply via email to