AlmaLinux changes

This commit is contained in:
eabdullin 2022-05-18 14:04:00 +03:00
parent ca3f20df66
commit c18f918c3f

View File

@ -1,7 +1,7 @@
Name: opa-fm
Epoch: 1
Version: 10.11.0.2
Release: 1%{?dist}
Release: 1%{?dist}.alma
Summary: Intel Omni-Path Fabric Management Software
License: GPLv2 or BSD
@ -42,6 +42,8 @@ Fabric Executive, and some fabric management tools.
# Make it possible to override hardcoded compiler flags
sed -i -r -e 's/(release_C(C)?OPT_Flags\s*)=/\1?=/' Makerules/Target.LINUX.GNU.*
sed -r -e 's/(^COPT\s*=\s*)/#\1/' -i Esm/ib/src/linux/opafmvf/Makefile
# Add AlmaLinux detection
sed -i 's/rhel)/rhel|almalinux|AlmaLinux)/' MakeTools/funcs-ext.sh
%build
export CFLAGS='%{optflags} -std=gnu11'
@ -82,6 +84,9 @@ chmod a-x %{buildroot}/%{_prefix}/share/opa-fm/opafm_src.xml
%{_mandir}/man8/*
%changelog
* Wed May 18 2022 Eduard Abdullin <eabdullin@almalinux.org> - 1:10.11.0.2-1.alma
- Fix build for AlmaLinux
* Tue Oct 19 2021 Honggang Li <honli@redhat.com> - 1:10.11.0.2-1
- Rebase to upstream release 10.11.0.2
- Resolves: rhbz2013070