Hello community,
here is the log from the commit of package python-python-prctl for
openSUSE:Factory checked in at 2020-08-19 18:57:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-prctl (Old)
and /work/SRC/openSUSE:Factory/.python-python-prctl.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-prctl"
Wed Aug 19 18:57:06 2020 rev:2 rq:827757 version:1.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-prctl/python-python-prctl.changes
2020-08-12 10:36:31.916292296 +0200
+++
/work/SRC/openSUSE:Factory/.python-python-prctl.new.3399/python-python-prctl.changes
2020-08-19 18:58:29.595900413 +0200
@@ -1,0 +2,5 @@
+Wed Aug 19 07:46:50 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- Add failing-on-i586.patch to disable failing i586 test
+
+-------------------------------------------------------------------
New:
----
failing-on-i586.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-prctl.spec ++++++
--- /var/tmp/diff_new_pack.oiRodC/_old 2020-08-19 18:58:31.139901234 +0200
+++ /var/tmp/diff_new_pack.oiRodC/_new 2020-08-19 18:58:31.143901236 +0200
@@ -26,6 +26,7 @@
Source:
https://files.pythonhosted.org/packages/source/p/python-prctl/python-prctl-%{version}.tar.gz
Source99:
https://raw.githubusercontent.com/seveas/python-prctl/master/COPYING
Patch0: disable-sandboxed-test.patch
+Patch1: failing-on-i586.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -48,6 +49,7 @@
%prep
%setup -q -n python-prctl-%{version}
%patch0 -p1
+%patch1 -p1
cp %{SOURCE99} .
%build
++++++ failing-on-i586.patch ++++++
Index: python-prctl-1.7/test_prctl.py
===================================================================
--- python-prctl-1.7.orig/test_prctl.py
+++ python-prctl-1.7/test_prctl.py
@@ -155,6 +155,7 @@ class PrctlTest(unittest.TestCase):
self.assertEqual(prctl.get_keepcaps(), False)
@require('set_mce_kill')
+ @unittest.skipIf(sys.maxsize <= 2**32, 'fails on 32 bit')
def test_mce_kill(self):
"""Test the MCE_KILL setting"""
fd = open('/proc/sys/vm/memory_failure_early_kill')