diff --git a/python-3.3.0b1-test-posix_fadvise.patch b/python-3.3.0b1-test-posix_fadvise.patch deleted file mode 100644 index a64648b..0000000 --- a/python-3.3.0b1-test-posix_fadvise.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- - Lib/test/test_posix.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/Lib/test/test_posix.py -+++ b/Lib/test/test_posix.py -@@ -422,7 +422,7 @@ class PosixTester(unittest.TestCase): - def test_posix_fadvise(self): - fd = os.open(support.TESTFN, os.O_RDONLY) - try: -- posix.posix_fadvise(fd, 0, 0, posix.POSIX_FADV_WILLNEED) -+ posix.posix_fadvise(fd, 0, 0, posix.POSIX_FADV_RANDOM) - finally: - os.close(fd) - diff --git a/python39.changes b/python39.changes index 46939e4..e81b29d 100644 --- a/python39.changes +++ b/python39.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat May 10 11:38:21 UTC 2025 - Matej Cepl + +- Remove python-3.3.0b1-test-posix_fadvise.patch (not needed + since kernel 3.6-rc1) + ------------------------------------------------------------------- Wed Apr 9 20:04:17 UTC 2025 - Matej Cepl diff --git a/python39.spec b/python39.spec index 4f3331c..d851366 100644 --- a/python39.spec +++ b/python39.spec @@ -141,8 +141,6 @@ Patch06: distutils-reproducible-compile.patch Patch07: python-3.3.0b1-localpath.patch # replace DATE, TIME and COMPILER by fixed definitions to aid reproducible builds Patch08: python-3.3.0b1-fix_date_time_compiler.patch -# POSIX_FADV_WILLNEED throws EINVAL. Use a different constant in test -Patch09: python-3.3.0b1-test-posix_fadvise.patch # Raise timeout value for test_subprocess Patch15: subprocess-raise-timeout.patch Patch25: python3-imp-returntype.patch @@ -437,7 +435,6 @@ other applications. %patch -p1 -P 06 %patch -p1 -P 07 %patch -p1 -P 08 -%patch -p1 -P 09 %patch -p1 -P 15 %patch -p1 -P 25 %patch -p1 -P 29