Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-modernize for
openSUSE:Factory checked in at 2021-12-27 16:07:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-modernize (Old)
and /work/SRC/openSUSE:Factory/.python-modernize.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-modernize"
Mon Dec 27 16:07:19 2021 rev:6 rq:942724 version:0.8.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-modernize/python-modernize.changes
2020-10-29 09:47:39.940132318 +0100
+++
/work/SRC/openSUSE:Factory/.python-modernize.new.2520/python-modernize.changes
2021-12-27 16:07:25.989701987 +0100
@@ -1,0 +2,6 @@
+Sat Dec 25 21:57:32 UTC 2021 - Ben Greiner <[email protected]>
+
+- ensure that pickled cache files from fissix don't interfere
+ between flavor tests
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-modernize.spec ++++++
--- /var/tmp/diff_new_pack.kuR5Cl/_old 2021-12-27 16:07:26.385702268 +0100
+++ /var/tmp/diff_new_pack.kuR5Cl/_new 2021-12-27 16:07:26.389702271 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-modernize
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -32,7 +32,7 @@
Requires: python-dbm
Requires: python-fissix
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module dbm}
@@ -58,6 +58,9 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
+# ensure that pickled cache files from fissix don't interfere between flavors
+%python_expand mkdir build/cache
+export XDG_CACHE_HOME=$PWD/build/cache
%pytest
%post
@@ -73,6 +76,9 @@
%license LICENSE
%python_alternative %{_bindir}/modernize
%python_alternative %{_bindir}/python-modernize
-%{python_sitelib}/*
+%{python_sitelib}/libmodernize
+%{python_sitelib}/modernize.py
+%pycache_only %{python_sitelib}/__pycache__/modernize.*.pyc
+%{python_sitelib}/modernize-%{version}*-info
%changelog