Hello community,
here is the log from the commit of package python-python-prctl for
openSUSE:Factory checked in at 2020-10-28 10:01:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-prctl (Old)
and /work/SRC/openSUSE:Factory/.python-python-prctl.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-prctl"
Wed Oct 28 10:01:27 2020 rev:4 rq:844474 version:1.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-prctl/python-python-prctl.changes
2020-09-07 21:37:13.221432581 +0200
+++
/work/SRC/openSUSE:Factory/.python-python-prctl.new.3463/python-python-prctl.changes
2020-10-28 10:02:25.087314175 +0100
@@ -1,0 +2,6 @@
+Tue Oct 27 09:54:52 UTC 2020 - Hans-Peter Jansen <[email protected]>
+
+- Disable test of no_new_privs with disable_no_new_privs.patch
+ test fails, because ping doesn't use capabilities anymore (boo#1174504)
+
+-------------------------------------------------------------------
New:
----
disable_no_new_privs.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-prctl.spec ++++++
--- /var/tmp/diff_new_pack.2LubFv/_old 2020-10-28 10:02:26.443315124 +0100
+++ /var/tmp/diff_new_pack.2LubFv/_new 2020-10-28 10:02:26.447315127 +0100
@@ -29,6 +29,7 @@
Patch1: memory_failure_early_kill.patch
Patch2: bigendian.patch
Patch3: powerpc.patch
+Patch4: disable_no_new_privs.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
++++++ disable_no_new_privs.patch ++++++
Index: b/test_prctl.py
===================================================================
--- a/test_prctl.py
+++ b/test_prctl.py
@@ -220,6 +220,7 @@ class PrctlTest(unittest.TestCase):
self.assertEqual(prctl.get_name(), name[:15])
@require('get_no_new_privs')
+ @unittest.skip('test fails, because ping doesn\'t use capabilities anymore
(boo#1174504)')
def test_no_new_privs(self):
"""Test the no_new_privs function"""
self.assertEqual(prctl.get_no_new_privs(), 0)