Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-application for 
openSUSE:Factory checked in at 2021-08-30 13:55:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-application (Old)
 and      /work/SRC/openSUSE:Factory/.python-application.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-application"

Mon Aug 30 13:55:30 2021 rev:3 rq:914987 version:3.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-application/python-application.changes    
2021-08-28 22:29:31.638000174 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-application.new.1899/python-application.changes
  2021-08-30 13:55:49.569869985 +0200
@@ -1,0 +2,6 @@
+Mon Aug 30 09:56:56 UTC 2021 - Matej Cepl <[email protected]>
+
+- Add examples_to_py3k.patch to remove py2k shebangs
+  (gh#AGProjects/python3-application#2).
+
+-------------------------------------------------------------------

New:
----
  examples_to_py3k.patch

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

Other differences:
------------------
++++++ python-application.spec ++++++
--- /var/tmp/diff_new_pack.cyrICF/_old  2021-08-30 13:55:50.121870694 +0200
+++ /var/tmp/diff_new_pack.cyrICF/_new  2021-08-30 13:55:50.125870699 +0200
@@ -25,6 +25,9 @@
 Group:          Development/Libraries/Python
 URL:            https://github.com/AGProjects/python3-application
 Source:         
https://github.com/AGProjects/python3-application/archive/refs/tags/%{version}.tar.gz#/python3-application-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM examples_to_py3k.patch 
gh#AGProjects/python3-application#2 [email protected]
+# Replace py2k shebangs with py3k ones
+Patch0:         examples_to_py3k.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -46,7 +49,7 @@
  - Manage the version number for applications, modules and packages.
 
 %prep
-%setup -q -n python3-application-%{version}
+%autosetup -p1 -n python3-application-%{version}
 
 %build
 %python_build

++++++ examples_to_py3k.patch ++++++
---
 examples/config.py       |    2 +-
 examples/debug.py        |    2 +-
 examples/notification.py |    2 +-
 examples/process.py      |    2 +-
 examples/singleton.py    |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

--- a/examples/config.py
+++ b/examples/config.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 """Example of reading application settings from a configuration file"""
 
--- a/examples/debug.py
+++ b/examples/debug.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 """Example of using the debug facilities of python-application"""
 
--- a/examples/notification.py
+++ b/examples/notification.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 from time import time
 from zope.interface import implements
--- a/examples/process.py
+++ b/examples/process.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 """Example of controlling the process behavior using the process module"""
 
--- a/examples/singleton.py
+++ b/examples/singleton.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 from application.python.types import Singleton
 

Reply via email to