AlmaLinux changes

This commit is contained in:
Andrew Lukoshko 2021-09-15 10:56:28 +00:00
parent 4ecbab4697
commit 349cff1cae
1 changed files with 7 additions and 1 deletions

View File

@ -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 <alukoshko@almalinux.org> - 10.10.3.0.11-1.alma
- Fix build on AlmaLinux
* Mon Nov 16 2020 Honggang Li <honli@redhat.com> - 10.10.3.0.11-1
- Rebase to latest upstream release v10.10.3.0.11
- Resolves: bz1821734, bz1886812