forked from ROCm/python-cppheaderparser
This commit is contained in:
@@ -2,12 +2,16 @@
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 2.7.4
|
||||
Release: 16%{?dist}
|
||||
Release: 17%{?dist}
|
||||
Summary: Parse C++ header files and generate a data structure
|
||||
|
||||
License: BSD-3-Clause
|
||||
URL: http://senexcanis.com/open-source/cppheaderparser/
|
||||
%if 0%{?suse_version}
|
||||
Source0: CppHeaderParser-2.7.4.tar.gz
|
||||
%else
|
||||
Source0: %{pypi_source CppHeaderParser}
|
||||
%endif
|
||||
Patch0: 0001-cppheaderparser-silence-invalid-escape-sequence.patch
|
||||
|
||||
BuildArch: noarch
|
||||
@@ -20,7 +24,12 @@ class.
|
||||
Summary: %{summary}
|
||||
|
||||
BuildRequires: python3-devel
|
||||
%if 0%{?suse_version}
|
||||
# TW
|
||||
BuildRequires: python311-setuptools
|
||||
%else
|
||||
BuildRequires: python3dist(setuptools)
|
||||
%endif
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
@@ -46,6 +55,9 @@ sed -i -e '/^#!\//, 1d' CppHeaderParser/CppHeaderParser.py
|
||||
%{python3_sitelib}/CppHeaderParser-%{version}-py%{python3_version}.egg-info/
|
||||
|
||||
%changelog
|
||||
* Wed Feb 5 2025 Tom Rix <Tom.Rix@amd.com> - 2.7.4-17
|
||||
- Fix TW build
|
||||
|
||||
* Mon Jan 20 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.4-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
|
||||
Reference in New Issue
Block a user