AlmaLinux changes

This commit is contained in:
eabdullin 2022-01-17 15:35:55 +03:00
parent 0d4b07988a
commit a634272d5b
1 changed files with 7 additions and 1 deletions

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
@ -43,6 +43,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'
@ -82,6 +85,9 @@ chmod a-x %{buildroot}/%{_prefix}/share/opa-fm/opafm_src.xml
%{_mandir}/man8/*
%changelog
* Mon Jan 17 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