Compare commits

1 Commits

Author SHA1 Message Date
85b57a8b4a Add cppheaderparser support and fix python dependencies for SUSE
Signed-off-by: Egbert Eich <eich@suse.com>
2025-08-09 08:50:03 +02:00

View File

@@ -20,7 +20,7 @@
%global build_type RelWithDebInfo
%endif
%if 0%{?fedora}
%if 0%{?fedora} || 0%{?suse_version}
%bcond_without cppheaderparser
%else
%bcond_with cppheaderparser
@@ -60,7 +60,7 @@
Name: rocclr
Version: %{rocm_version}
Release: 2%{?dist}
Release: 3%{?dist}
Summary: ROCm Compute Language Runtime
Url: https://github.com/ROCm/clr
License: MIT
@@ -116,8 +116,12 @@ BuildRequires: pkgconfig(ocl-icd)
%endif
BuildRequires: pkgconfig(numa)
%if %{with cppheaderparser}
%if 0%{?suse_version}
BuildRequires: %{python_module CppHeaderParser}
%else
BuildRequires: python3-cppheaderparser
%endif
%endif
BuildRequires: rocm-comgr-devel
BuildRequires: rocm-compilersupport-macros
BuildRequires: rocm-runtime-devel >= %{rocm_release}
@@ -385,6 +389,9 @@ fi
%endif
%changelog
* Thu Aug 7 2025 Egbert Eich <eich@suse.com> - 6.4.2-3
- Enable cppheaderparser and fix python dependencies for SUSE.
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 6.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild