#----------------------------------------------------------------------------bh- # This RPM .spec file is part of the OpenHPC project. # # It may have been modified from the default version supplied by the underlying # release package (if available) in order to apply patches, perform customized # build/install configurations, and supply additional files to support # desired integration conventions. # #----------------------------------------------------------------------------eh- %global ohpc_bootstrap 1 %include %{_sourcedir}/OHPC_macros %if 0%{?rhel} %define disttag .el10 %endif %if 0%{?openEuler} %define disttag .oe2403 %endif Summary: OpenHPC release files Name: ohpc-release Version: 4 Release: 1%{?disttag} License: Apache-2.0 Group: %{PROJ_NAME}/admin URL: https://github.com/openhpc/ohpc Source1: RPM-GPG-KEY-OpenHPC-4 Provides: ohpc-release = %{version} %if 0%{?rhel} Requires: epel-release Requires: redhat-release >= 9.1 %endif %description Collection of OpenHPC release files including package repository definition. %prep %build %install %{__mkdir} ${RPM_BUILD_ROOT}/etc # /etc/ohpc-release cat >> ${RPM_BUILD_ROOT}/etc/ohpc-release <> ${RPM_BUILD_ROOT}/%{__repodir}/OpenHPC.repo <