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-06-28 15:33:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytz (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytz.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytz"

Mon Jun 28 15:33:20 2021 rev:42 rq:902223 version:2021.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytz/python-pytz.changes  2021-06-01 
10:33:49.656441813 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytz.new.2625/python-pytz.changes        
2021-06-28 15:33:32.847180070 +0200
@@ -1,0 +2,6 @@
+Thu Jun 24 21:46:08 UTC 2021 - Matej Cepl <mc...@suse.com>
+
+- Remove real directory of %{python_sitelib}/pytz/zoneinfo when
+  upgrading, before it is replaced by a symlink (bsc#1185748).
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pytz.spec ++++++
--- /var/tmp/diff_new_pack.uDYEKQ/_old  2021-06-28 15:33:33.451180808 +0200
+++ /var/tmp/diff_new_pack.uDYEKQ/_new  2021-06-28 15:33:33.455180813 +0200
@@ -82,6 +82,11 @@
 %check
 %pyunittest discover -v
 
+%pre
+if [ $1 -gt 1 ] ; then
+[ "$(readlink -e %{python_sitelib}/pytz/zoneinfo)" == 
"%{python_sitelib}/pytz/zoneinfo" ] && rm -rf %{python_sitelib}/pytz/zoneinfo
+fi || :
+
 %files %{python_files}
 %license LICENSE.txt
 %doc README.rst

Reply via email to