MSVSphere debranding - added MSVSphere detection

i8 changed/i8/opa-fm-10.11.2.0.3-1.el8.inferit
Sergey Cherevko 1 year ago
parent b54ef468a4
commit 4359ad9522
Signed by: scherevko
GPG Key ID: D87CBBC16D2E4A72

@ -9,7 +9,7 @@
Name: opa-fm
Epoch: 1
Version: 10.11.2.0.3
Release: 1%{?dist}
Release: 1%{?dist}.inferit
Summary: Intel Omni-Path Fabric Management Software
License: GPLv2 or BSD
@ -45,6 +45,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 MSVSphere detection
sed -i 's/rhel)/rhel|msvsphere|MSVSphere)/' MakeTools/funcs-ext.sh
%build
export CFLAGS='%{optflags} -std=gnu11'
@ -85,6 +87,9 @@ chmod a-x %{buildroot}/%{_prefix}/share/opa-fm/opafm_src.xml
%{_mandir}/man8/*
%changelog
* Wed Aug 16 2023 Sergey Cherevko <s.cherevko@msvsphere.ru> - 1:10.11.2.0.3-1.inferit
- Debrand and rebuild for MSVSphere 8.8
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1:10.11.2.0.3-1
- Rebuilt for MSVSphere 8.8

Loading…
Cancel
Save