AlmaLinux changes

This commit is contained in:
Andrew Lukoshko 2021-09-15 10:59:31 +00:00
parent bbf40318a3
commit 706e0dec03

View File

@ -1,7 +1,7 @@
Name: opa-fm
Epoch: 1
Version: 10.10.3.0.11
Release: 1%{?dist}
Release: 1%{?dist}.alma
Summary: Intel Omni-Path Fabric Management Software
Group: System Environment/Daemons
@ -46,6 +46,9 @@ Fabric Executive, and some fabric management tools.
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'
export CXXFLAGS='%{optflags} -std=gnu11'
@ -85,6 +88,9 @@ chmod a-x %{buildroot}/%{_prefix}/share/opa-fm/opafm_src.xml
%{_mandir}/man8/*
%changelog
* Sun Apr 11 2021 Andrew Lukoshko <alukoshko@almalinux.org> - 10.10.3.0.11-1.alma
- Fix build on AlmaLinux
* Thu Nov 12 2020 Honggang Li <honli@redhat.com> - 10.10.3.0.11-1
- Rebase to upstream release 10.10.3.0.11
- Resolves: bz1821735