From a5fb671bd5dd3ab815f846e6cbeaced265ee0162 Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Mon, 13 May 2024 13:05:48 +0000 Subject: [PATCH] Remove package libomp-tools We don't want to package it for RHEL, so we remove it here as well. --- files.spec.inc | 5 ----- install.spec.inc | 4 ++++ packages.spec.inc | 5 ----- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/files.spec.inc b/files.spec.inc index 47c2581..aa350ef 100644 --- a/files.spec.inc +++ b/files.spec.inc @@ -576,11 +576,6 @@ %{_libdir}/libomptarget.so %endif -%files -n %{pkg_name_libomp}-tools -%license openmp/LICENSE.TXT -%{install_bindir}/llvm-omp-device-info -%{install_bindir}/llvm-omp-kernel-replay - %endif #endregion diff --git a/install.spec.inc b/install.spec.inc index a809ecf..3361a9b 100644 --- a/install.spec.inc +++ b/install.spec.inc @@ -226,6 +226,10 @@ rm -rf %{buildroot}/%{_datarootdir}/gdb # chmod go+w %{buildroot}/%{_datarootdir}/gdb/python/ompd/ompdModule.so # chmod +w %{buildroot}/%{_datarootdir}/gdb/python/ompd/ompdModule.so +# Remove files that we don't package, yet. +rm %{buildroot}%{install_bindir}/llvm-omp-device-info +rm %{buildroot}%{install_bindir}/llvm-omp-kernel-replay + %endif #endregion diff --git a/packages.spec.inc b/packages.spec.inc index 8a8b6ec..f47be45 100644 --- a/packages.spec.inc +++ b/packages.spec.inc @@ -290,11 +290,6 @@ Requires: clang-resource-filesystem%{?isa} = %{version} OpenMP header files. URL: http://openmp.llvm.org -%package -n %{pkg_name_libomp}-tools -Summary: Tools for OpenMP - -URL: http://openmp.llvm.org - %endif #endregion