Hello community,
here is the log from the commit of package osc-plugin-collab for
openSUSE:Factory checked in at 2019-10-07 13:46:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/osc-plugin-collab (Old)
and /work/SRC/openSUSE:Factory/.osc-plugin-collab.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "osc-plugin-collab"
Mon Oct 7 13:46:50 2019 rev:14 rq:735539 version:0.103
Changes:
--------
--- /work/SRC/openSUSE:Factory/osc-plugin-collab/osc-plugin-collab.changes
2019-09-20 14:51:41.842900515 +0200
+++
/work/SRC/openSUSE:Factory/.osc-plugin-collab.new.2352/osc-plugin-collab.changes
2019-10-07 14:14:07.170889245 +0200
@@ -1,0 +2,9 @@
+Sun Oct 6 17:35:09 UTC 2019 - [email protected]
+
+- Update to version 0.103:
+ + Call time.tzset() after changing the timezone (#53)
+ + Fix python2 compatibility (#49)
+- Fix packaging for new versions of Fedora that don't include
+ .pyc/.pyo files
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ osc-plugin-collab.spec ++++++
--- /var/tmp/diff_new_pack.PxiEFM/_old 2019-10-07 14:14:07.534888246 +0200
+++ /var/tmp/diff_new_pack.PxiEFM/_new 2019-10-07 14:14:07.534888246 +0200
@@ -18,7 +18,7 @@
Name: osc-plugin-collab
-Version: 0.102
+Version: 0.103
Release: 0
Summary: Plugin to make collaboration easier with osc
License: BSD-3-Clause
@@ -64,10 +64,6 @@
%files
%defattr(-, root, root)
-%{oscplugindir}/osc-collab.py
-%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
-%{oscplugindir}/osc-collab.pyc
-%{oscplugindir}/osc-collab.pyo
-%endif
+%{oscplugindir}/osc-collab.py*
%changelog
++++++ osc-collab.py ++++++
--- /var/tmp/diff_new_pack.PxiEFM/_old 2019-10-07 14:14:07.558888180 +0200
+++ /var/tmp/diff_new_pack.PxiEFM/_new 2019-10-07 14:14:07.558888180 +0200
@@ -34,6 +34,8 @@
# Authors: Vincent Untz <[email protected]>
#
+from __future__ import print_function
+
import difflib
import locale
import re
@@ -69,7 +71,7 @@
from osc import conf
-OSC_COLLAB_VERSION = '0.102'
+OSC_COLLAB_VERSION = '0.103'
# This is a hack to have osc ignore the file we create in a package directory.
_osc_collab_helper_prefixes = [ 'osc-collab.', 'osc-gnome.' ]
@@ -2501,6 +2503,7 @@
old_tz = os.getenv('TZ')
locale.setlocale(locale.LC_TIME, 'C')
os.putenv('TZ', 'UTC')
+ time.tzset()
os.write(fdout,
b'-------------------------------------------------------------------\n')
write_line = '%s - %s\n' % (time.strftime("%a %b %e %H:%M:%S %Z %Y"),
email)
@@ -2516,6 +2519,7 @@
os.putenv('TZ', old_tz)
else:
os.unsetenv('TZ')
+ time.tzset()
fin = open(changes_file, 'r')
while True: