Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytz for openSUSE:Factory 
checked in at 2021-07-16 22:12:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytz (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytz.new.2632 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytz"

Fri Jul 16 22:12:25 2021 rev:43 rq:905114 version:2021.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytz/python-pytz.changes  2021-06-28 
15:33:32.847180070 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytz.new.2632/python-pytz.changes        
2021-07-16 22:12:40.342859799 +0200
@@ -1,0 +2,5 @@
+Thu Jul  8 17:16:15 UTC 2021 - Matej Cepl <mc...@suse.com>
+
+- Add %pyunittest shim for platforms where it is missing.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pytz.spec ++++++
--- /var/tmp/diff_new_pack.AvrJp2/_old  2021-07-16 22:12:40.854856182 +0200
+++ /var/tmp/diff_new_pack.AvrJp2/_new  2021-07-16 22:12:40.858856153 +0200
@@ -21,6 +21,13 @@
 %define tzdata_version 2021a
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!pyunittest:%define 
pyunittest(+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-=) 
\\\
+    %{lua: local args = rpm.expand("%**");
+           local broot = rpm.expand("%buildroot");
+           local intro = "%{python_expand 
PYTHONPATH=${PYTHONPATH:+$PYTHONPATH:}" .. broot .. "%{$python_sitelib} 
PYTHONDONTWRITEBYTECODE=1 $python -m unittest ";
+           print(rpm.expand(intro .. args .. "}"))
+    } }
+
 Name:           python-pytz
 Version:        2021.1
 Release:        0

Reply via email to