forked from ROCm/python-cppheaderparser
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 2.7.4
|
||||
Release: 17%{?dist}
|
||||
Release: 16%{?dist}
|
||||
Summary: Parse C++ header files and generate a data structure
|
||||
|
||||
License: BSD-3-Clause
|
||||
URL: http://senexcanis.com/open-source/cppheaderparser/
|
||||
Source0: https://sourceforge.net/projects/cppheaderparser/files/cppheaderparser/CppheaderParser%202.7.4/CppHeaderParser-2.7.4.tar.gz
|
||||
Source0: %{pypi_source CppHeaderParser}
|
||||
Patch0: 0001-cppheaderparser-silence-invalid-escape-sequence.patch
|
||||
|
||||
BuildArch: noarch
|
||||
@@ -20,21 +20,9 @@ class.
|
||||
Summary: %{summary}
|
||||
|
||||
BuildRequires: python3-devel
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: python311-setuptools
|
||||
%else
|
||||
BuildRequires: python3dist(setuptools)
|
||||
%endif
|
||||
Provides: python-cppheaderparser
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
%if 0%{?suse_version}
|
||||
# TW
|
||||
Requires: python311-ply
|
||||
%else
|
||||
Requires: python3dist(ply)
|
||||
%endif
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
Parse C++ header files and generate a data structure representing the
|
||||
class.
|
||||
@@ -58,11 +46,8 @@ sed -i -e '/^#!\//, 1d' CppHeaderParser/CppHeaderParser.py
|
||||
%{python3_sitelib}/CppHeaderParser-%{version}-py%{python3_version}.egg-info/
|
||||
|
||||
%changelog
|
||||
* Sat Nov 30 2024 Tom Rix <Tom.Rix@amd.com> - 2.7.4-17
|
||||
- Add requires ply
|
||||
|
||||
* Thu Nov 28 2024 Tom Rix <Tom.Rix@amd.com> - 2.7.4-16
|
||||
- Build on TW
|
||||
* Mon Jan 20 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.4-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.4-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
Reference in New Issue
Block a user