Hello community, here is the log from the commit of package coreutils for openSUSE:Factory checked in at 2020-05-11 13:25:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/coreutils (Old) and /work/SRC/openSUSE:Factory/.coreutils.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "coreutils" Mon May 11 13:25:42 2020 rev:133 rq:799984 version:8.32 Changes: -------- --- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes 2020-03-25 23:41:48.415964369 +0100 +++ /work/SRC/openSUSE:Factory/.coreutils.new.2738/coreutils.changes 2020-05-11 13:25:45.091155205 +0200 @@ -1,0 +2,6 @@ +Mon May 4 08:05:15 UTC 2020 - Dirk Mueller <[email protected]> + +- add coreutils-use-python3.patch to minimally port away from + python 2.x use of pyinotify in the testsuite + +------------------------------------------------------------------- New: ---- coreutils-use-python3.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ coreutils.spec ++++++ --- /var/tmp/diff_new_pack.jtbjEw/_old 2020-05-11 13:25:46.515158190 +0200 +++ /var/tmp/diff_new_pack.jtbjEw/_new 2020-05-11 13:25:46.519158198 +0200 @@ -54,7 +54,9 @@ BuildRequires: acl BuildRequires: gdb BuildRequires: perl-Expect -BuildRequires: python-pyinotify +BuildRequires: python +BuildRequires: python3 +BuildRequires: python3-pyinotify BuildRequires: strace BuildRequires: timezone # Some tests need the 'bin' user. @@ -134,7 +136,8 @@ # tests: shorten extreme-expensive factor tests Patch303: coreutils-tests-shorten-extreme-factor-tests.patch - +# Stop using Python 2.x +Patch304: coreutils-use-python3.patch Patch500: coreutils-disable_tests.patch Patch501: coreutils-test_without_valgrind.patch @@ -193,6 +196,7 @@ %endif %patch303 +%patch304 %patch500 %patch501 ++++++ coreutils-use-python3.patch ++++++ --- tests/du/move-dir-while-traversing.sh +++ tests/du/move-dir-while-traversing.sh @@ -20,9 +20,9 @@ print_ver_ du require_trap_signame_ -# We use a python-inotify script, so... -python -m pyinotify -h > /dev/null \ - || skip_ 'python inotify package not installed' +# We use a python3-inotify script, so... +python3 -m pyinotify -h > /dev/null \ + || skip_ 'python3 inotify package not installed' # Move a directory "up" while du is processing its sub-directories. # While du is processing a hierarchy .../B/C/D/... this script @@ -33,7 +33,7 @@ # rename syscall before du finishes processing the subtree under D/. cat <<'EOF' > inotify-watch-for-dir-access.py -#!/usr/bin/env python +#!/usr/bin/env python3 import pyinotify as pn import os,sys
