Add compatibility with ply post-3.11 version

This commit is contained in:
Charalampos Stratakis 2026-01-15 01:56:18 +01:00
commit 294ccdf9b0
2 changed files with 99 additions and 0 deletions

View file

@ -16,6 +16,13 @@ Source1: pycparser-0.91.1-remove-relative-sys-path.py
# package to prevent "yacc table file version is out of date" problem.
Patch100: pycparser-unbundle-ply.patch
# This is Fedora-specific. ply has been archived upstream and pycparser
# bundles a specific working version of it, but in Fedora we debundle it,
# so this patch makes it compatible with the ply post 3.11 version commits.
# Upstream prefers the downstream approach, see:
# https://github.com/eliben/pycparser/issues/588
Patch200: pycparser-ply-post-3.11-compat.patch
BuildArch: noarch
BuildRequires: python3-devel