Update to 2.22

- Fixes: rhbz#2020936

Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
This commit is contained in:
Matthieu Saulnier 2025-01-10 20:59:54 +01:00 committed by Miro Hrončok
commit c93909460d
4 changed files with 15 additions and 14 deletions

View file

@ -2,7 +2,7 @@
Name: python-pycparser
Summary: C parser and AST generator written in Python
Version: 2.20
Version: 2.22
Release: %autorelease
License: BSD-3-Clause
URL: http://github.com/eliben/pycparser
@ -23,7 +23,7 @@ BuildRequires: python3-ply
# for unit tests
%if %{with tests}
BuildRequires: cpp
BuildRequires: gcc
%endif
%description
@ -64,7 +64,7 @@ popd
%check
%pyproject_check_import
%if %{with tests}
%{python3} tests/all_tests.py
%py3_test_envvars %{python3} -m unittest discover
%endif
%files -n python3-pycparser -f %{pyproject_files}