From 349cff1caea18466ccdbb7839dc8a18b557ae092 Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Wed, 15 Sep 2021 10:56:28 +0000 Subject: [PATCH] AlmaLinux changes --- SPECS/opa-ff.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/SPECS/opa-ff.spec b/SPECS/opa-ff.spec index a5d02ca..194297c 100644 --- a/SPECS/opa-ff.spec +++ b/SPECS/opa-ff.spec @@ -1,7 +1,7 @@ Name: opa-ff Epoch: 1 Version: 10.10.3.0.11 -Release: 1%{?dist} +Release: 1%{?dist}.alma Summary: Intel Omni-Path basic tools and libraries for fabric management License: BSD or GPLv2 Url: https://github.com/intel/opa-ff @@ -85,6 +85,9 @@ find . -type f -name '*.exp' -exec 'chmod' 'a+x' '{}' ';' # Make it possible to override hardcoded compiler flags sed -i -r -e 's/(release_C(C)?OPT_Flags\s*)=/\1?=/' Makerules/Target.LINUX.GNU.* +# Add AlmaLinux detection +sed -i 's/rhel)/rhel|almalinux|AlmaLinux)/' MakeTools/funcs-ext.sh + %build export CFLAGS='%{optflags}' export CXXFLAGS='%{optflags}' @@ -402,6 +405,9 @@ BUILDDIR=%{_builddir} DESTDIR=%{buildroot} LIBDIR=%{_libdir} DSAP_LIBDIR=%{_libd %{_includedir}/opamgt %changelog +* Sun Apr 11 2021 Andrew Lukoshko - 10.10.3.0.11-1.alma +- Fix build on AlmaLinux + * Mon Nov 16 2020 Honggang Li - 10.10.3.0.11-1 - Rebase to latest upstream release v10.10.3.0.11 - Resolves: bz1821734, bz1886812