From 3bb3397951cf142792c2c28731ee07f1c47010d91fc82051282e6611a45aab81 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 10 May 2025 11:43:09 +0000 Subject: [PATCH] - Remove python-3.3.0b1-test-posix_fadvise.patch (not needed since kernel 3.6-rc1) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python311?expand=0&rev=173 --- python-3.3.0b1-test-posix_fadvise.patch | 17 ----------------- python311.changes | 6 ++++++ python311.spec | 3 --- 3 files changed, 6 insertions(+), 20 deletions(-) delete mode 100644 python-3.3.0b1-test-posix_fadvise.patch 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 ac5d553..0000000 --- a/python-3.3.0b1-test-posix_fadvise.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- - Lib/test/test_posix.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: Python-3.11.8/Lib/test/test_posix.py -=================================================================== ---- Python-3.11.8.orig/Lib/test/test_posix.py -+++ Python-3.11.8/Lib/test/test_posix.py -@@ -430,7 +430,7 @@ class PosixTester(unittest.TestCase): - def test_posix_fadvise(self): - fd = os.open(os_helper.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/python311.changes b/python311.changes index 04405ea..120d3cd 100644 --- a/python311.changes +++ b/python311.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat May 10 11:38:24 UTC 2025 - Matej Cepl + +- Remove python-3.3.0b1-test-posix_fadvise.patch (not needed + since kernel 3.6-rc1) + ------------------------------------------------------------------- Fri Apr 18 14:05:38 UTC 2025 - Matej Cepl diff --git a/python311.spec b/python311.spec index 9293320..615dfd9 100644 --- a/python311.spec +++ b/python311.spec @@ -152,8 +152,6 @@ Patch03: distutils-reproducible-compile.patch Patch04: python-3.3.0b1-localpath.patch # replace DATE, TIME and COMPILER by fixed definitions to aid reproducible builds Patch05: python-3.3.0b1-fix_date_time_compiler.patch -# POSIX_FADV_WILLNEED throws EINVAL. Use a different constant in test -Patch06: python-3.3.0b1-test-posix_fadvise.patch # Raise timeout value for test_subprocess Patch07: subprocess-raise-timeout.patch # PATCH-FEATURE-UPSTREAM bpo-31046_ensurepip_honours_prefix.patch bpo#31046 mcepl@suse.com @@ -438,7 +436,6 @@ other applications. %patch -p1 -P 03 %patch -p1 -P 04 %patch -p1 -P 05 -%patch -p1 -P 06 %patch -p1 -P 07 %patch -p1 -P 08