Karolina Surma
2260bebdb9
rpmlint: Filter out obsolete-not-provided for freethreading subpackages
...
The package has been split from a single -freethreading one.
This avoids:
python3.14-freethreading-devel.aarch64: W: obsolete-not-provided python3.14-freethreading
python3.14-freethreading-devel.i686: W: obsolete-not-provided python3.14-freethreading
python3.14-freethreading-devel.ppc64le: W: obsolete-not-provided python3.14-freethreading
python3.14-freethreading-devel.s390x: W: obsolete-not-provided python3.14-freethreading
python3.14-freethreading-devel.x86_64: W: obsolete-not-provided python3.14-freethreading
python3.14-freethreading-idle.aarch64: W: obsolete-not-provided python3.14-freethreading
...
2026-08-24 13:39:07 +02:00
Miro Hrončok
79d64abadf
rpmlint: Also ignore file-not-in-%lang in tests
...
This avoids:
python3-test.aarch64: W: file-not-in-%lang /usr/lib64/python3.15/test/test_tools/msgfmt_data/fuzzy.mo
python3-test.aarch64: W: file-not-in-%lang /usr/lib64/python3.15/test/test_tools/msgfmt_data/general.mo
python3-test.i686: W: file-not-in-%lang /usr/lib/python3.15/test/test_tools/msgfmt_data/fuzzy.mo
python3-test.i686: W: file-not-in-%lang /usr/lib/python3.15/test/test_tools/msgfmt_data/general.mo
python3-test.ppc64le: W: file-not-in-%lang /usr/lib64/python3.15/test/test_tools/msgfmt_data/fuzzy.mo
python3-test.ppc64le: W: file-not-in-%lang /usr/lib64/python3.15/test/test_tools/msgfmt_data/general.mo
python3-test.s390x: W: file-not-in-%lang /usr/lib64/python3.15/test/test_tools/msgfmt_data/fuzzy.mo
python3-test.s390x: W: file-not-in-%lang /usr/lib64/python3.15/test/test_tools/msgfmt_data/general.mo
python3-test.x86_64: W: file-not-in-%lang /usr/lib64/python3.15/test/test_tools/msgfmt_data/fuzzy.mo
python3-test.x86_64: W: file-not-in-%lang /usr/lib64/python3.15/test/test_tools/msgfmt_data/general.mo
python3.15-freethreading-test.aarch64: W: file-not-in-%lang /usr/lib64/python3.15t/test/test_tools/msgfmt_data/fuzzy.mo
python3.15-freethreading-test.aarch64: W: file-not-in-%lang /usr/lib64/python3.15t/test/test_tools/msgfmt_data/general.mo
python3.15-freethreading-test.i686: W: file-not-in-%lang /usr/lib/python3.15t/test/test_tools/msgfmt_data/fuzzy.mo
python3.15-freethreading-test.i686: W: file-not-in-%lang /usr/lib/python3.15t/test/test_tools/msgfmt_data/general.mo
python3.15-freethreading-test.ppc64le: W: file-not-in-%lang /usr/lib64/python3.15t/test/test_tools/msgfmt_data/fuzzy.mo
python3.15-freethreading-test.ppc64le: W: file-not-in-%lang /usr/lib64/python3.15t/test/test_tools/msgfmt_data/general.mo
python3.15-freethreading-test.s390x: W: file-not-in-%lang /usr/lib64/python3.15t/test/test_tools/msgfmt_data/fuzzy.mo
python3.15-freethreading-test.s390x: W: file-not-in-%lang /usr/lib64/python3.15t/test/test_tools/msgfmt_data/general.mo
python3.15-freethreading-test.x86_64: W: file-not-in-%lang /usr/lib64/python3.15t/test/test_tools/msgfmt_data/fuzzy.mo
python3.15-freethreading-test.x86_64: W: file-not-in-%lang /usr/lib64/python3.15t/test/test_tools/msgfmt_data/general.mo
2026-08-21 11:19:04 +02:00
Miro Hrončok
bd2563ea47
rpmlint: Do not report idle as no-binary
...
python3-idle.i686: E: no-binary
python3.15-freethreading-idle.i686: E: no-binary
We know this and we don't care.
We won't make this noarch. It installs to lib64.
Assisted-By: Claude Opus 4.6
2026-08-21 11:18:56 +02:00
Miro Hrončok
bef861129d
rpmlint: Extend the rule about no-documentation for freethreading subpackages
...
This avoids:
python3.15-freethreading-devel.aarch64: W: no-documentation
python3.15-freethreading-devel.i686: W: no-documentation
python3.15-freethreading-devel.ppc64le: W: no-documentation
python3.15-freethreading-devel.s390x: W: no-documentation
python3.15-freethreading-devel.x86_64: W: no-documentation
python3.15-freethreading-idle.aarch64: W: no-documentation
python3.15-freethreading-idle.i686: W: no-documentation
python3.15-freethreading-idle.ppc64le: W: no-documentation
python3.15-freethreading-idle.s390x: W: no-documentation
python3.15-freethreading-idle.x86_64: W: no-documentation
python3.15-freethreading-test.aarch64: W: no-documentation
python3.15-freethreading-test.i686: W: no-documentation
python3.15-freethreading-test.ppc64le: W: no-documentation
python3.15-freethreading-test.s390x: W: no-documentation
python3.15-freethreading-test.x86_64: W: no-documentation
python3.15-freethreading-tkinter.aarch64: W: no-documentation
python3.15-freethreading-tkinter.i686: W: no-documentation
python3.15-freethreading-tkinter.ppc64le: W: no-documentation
python3.15-freethreading-tkinter.s390x: W: no-documentation
python3.15-freethreading-tkinter.x86_64: W: no-documentation
2026-08-21 11:18:52 +02:00
Miro Hrončok
f4716cbb08
rpmlint: CPython is not a spelling error
...
Also, the output looks different now:
python3.15-freethreading.x86_64: E: spelling-error ("CPython's", "%description -l en_US CPython's -> C Python's, Python's, Pynchon's")
python3.15-freethreading-devel.x86_64: E: spelling-error ('evelopment', 'Summary(en_US) evelopment -> envelopment, development, elopement')
2026-08-21 11:18:48 +02:00
Miro Hrončok
2986781bf7
Use prebuilt JIT stencils on platforms without LLVM 19
...
(cherry picked from python3.15 commit f3045380bba4fd8047571a76b233c5d955eb2577)
2025-11-25 19:29:30 +01:00
Miro Hrončok
90526d6169
rpmlint: Exclude unittest and gil from spelling-error
...
python3-test.x86_64: E: spelling-error ('unittest', '%description -l en_US unittest -> unit test, unit-test, unities')
python3.13-freethreading.x86_64: E: spelling-error ('gil', '%description -l en_US gil -> Gil, girl, gilt')
python3.13-freethreading-debug.x86_64: E: spelling-error ('gil', '%description -l en_US gil -> Gil, girl, gilt')
2024-07-23 22:07:22 +00:00
Miro Hrončok
6740145ba8
Update to Python 3.13.0b4
...
The freethreading packages are now located in /usr/lib64/python3.13t
See https://github.com/python/cpython/issues/121103
Co-Authored-By: Karolina Surma <ksurma@redhat.com>
2024-07-22 12:53:50 +02:00
Miro Hrončok
c01336e5dc
Update rpmlint.toml with regards to the freethreading builds
2023-12-07 22:14:02 +01:00
Miro Hrončok
0c6709aa13
rpmlint: Remove a superfluous space in one of the filters
...
The warnings look like:
python3.11-debugsource.x86_64: W: files-duplicate /usr/src/debug/python3.11-3.11.0~rc1-2.fc38.x86_64/build/optimized/Include/pydtrace_probes.h /usr/src/debug/python3.11-3.11.0~rc1-2.fc38.x86_64/build/debug/Include/pydtrace_probes.h
python3.11-debugsource.x86_64: W: files-duplicate /usr/src/debug/python3.11-3.11.0~rc1-2.fc38.x86_64/build/optimized/Modules/config.c /usr/src/debug/python3.11-3.11.0~rc1-2.fc38.x86_64/build/debug/Modules/config.c
python3.11-debugsource.x86_64: W: files-duplicate /usr/src/debug/python3.11-3.11.0~rc1-2.fc38.x86_64/build/optimized/Python/deepfreeze/deepfreeze.c /usr/src/debug/python3.11-3.11.0~rc1-2.fc38.x86_64/build/debug/Python/deepfreeze/deepfreeze.c
python3.11-debugsource.x86_64: W: files-duplicate /usr/src/debug/python3.11-3.11.0~rc1-2.fc38.x86_64/build/optimized/Python/frozen_modules/getpath.h /usr/src/debug/python3.11-3.11.0~rc1-2.fc38.x86_64/build/debug/Python/frozen_modules/getpath.h
2022-09-05 11:20:40 +02:00
Miro Hrončok
a71ba97787
Add more rpmlint rules to avoid all reports we see and don't care about
2022-08-23 15:12:53 +00:00
Miro Hrončok
252afb8c11
Update rpmlintrc to rpmlint 2
...
- Rename to rpmlint.toml
- Change from Python function calls to TOML list
- Remove rpmlint 1.1 workarounds
- Add rpmlint 2.2 workarounds
- Adjusts some filters to match rpmlint 2.2 messages
2022-08-23 15:12:53 +00:00