Compare commits

...

No commits in common. 'c9' and 'i8c-stream-3.9' have entirely different histories.

@ -3,7 +3,7 @@
Name: python-pycparser Name: python-pycparser
Summary: C parser and AST generator written in Python Summary: C parser and AST generator written in Python
Version: 2.20 Version: 2.20
Release: 6%{?dist} Release: 3%{?dist}
License: BSD License: BSD
URL: http://github.com/eliben/pycparser URL: http://github.com/eliben/pycparser
Source0: %{url}/archive/release_v%{version}.tar.gz Source0: %{url}/archive/release_v%{version}.tar.gz
@ -17,10 +17,15 @@ Source1: pycparser-0.91.1-remove-relative-sys-path.py
Patch100: pycparser-unbundle-ply.patch Patch100: pycparser-unbundle-ply.patch
BuildArch: noarch BuildArch: noarch
# Exclude i686 arch. Due to a modularity issue it's being added to the
# x86_64 compose of CRB, but we don't want to ship it at all.
# See: https://projects.engineering.redhat.com/browse/RCM-72605
ExcludeArch: i686
BuildRequires: python3-devel BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python3-setuptools BuildRequires: python%{python3_pkgversion}-rpm-macros
BuildRequires: python3-ply BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-ply
# for unit tests # for unit tests
%if %{with tests} %if %{with tests}
@ -32,11 +37,12 @@ pycparser is a complete parser for the C language, written in pure Python.
It is a module designed to be easily integrated into applications that It is a module designed to be easily integrated into applications that
need to parse C source code. need to parse C source code.
%package -n python3-pycparser %package -n python%{python3_pkgversion}-pycparser
Summary: %{summary} Summary: %{summary}
%{?python_provide:%python_provide python3-pycparser} Requires: python%{python3_pkgversion}-ply
%{?python_provide:%python_provide python%{python3_pkgversion}-pycparser}
%description -n python3-pycparser %description -n python%{python3_pkgversion}-pycparser
pycparser is a complete parser for the C language, written in pure Python. pycparser is a complete parser for the C language, written in pure Python.
It is a module designed to be easily integrated into applications that It is a module designed to be easily integrated into applications that
need to parse C source code. need to parse C source code.
@ -63,28 +69,20 @@ popd
%if %{with tests} %if %{with tests}
%{python3} tests/all_tests.py %{python3} tests/all_tests.py
%endif %endif
%files -n python3-pycparser %files -n python%{python3_pkgversion}-pycparser
%license LICENSE %license LICENSE
%doc examples %doc examples
%{python3_sitelib}/pycparser/ %{python3_sitelib}/pycparser/
%{python3_sitelib}/pycparser-*.egg-info/ %{python3_sitelib}/pycparser-*.egg-info/
%changelog %changelog
* Tue Feb 08 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 2.20-6 * Mon Dec 11 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.20-3
- Add automatically generated Obsoletes tag with the python39- prefix - Rebuilt for MSVSphere 8.8
for smoother upgrade from RHEL8
- Related: rhbz#1990421
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.20-5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.20-4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.20-3 * Mon Jan 18 2021 Tomas Orsava <torsava@redhat.com> - 2.20-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Convert from Fedora to the python39 module in RHEL8
- Resolves: rhbz#1877430
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.20-2 * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.20-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

Loading…
Cancel
Save