Fix ELN build
In order to override the Makefile's `DISTRO` definition, it needs to be passed as an argument rather than in the environment.
This commit is contained in:
parent
b18d040a41
commit
c902bd61f4
@ -103,13 +103,7 @@ Support for MPIs linked with PSM versions < 2
|
|||||||
%{make_build}
|
%{make_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?fedora}
|
%make_install DISTRO=%{?rhel:rhel}%{!?rhel:fedora}
|
||||||
export DISTRO=fedora
|
|
||||||
%endif
|
|
||||||
%if 0%{?rhel}
|
|
||||||
export DISTRO=rhel
|
|
||||||
%endif
|
|
||||||
%make_install
|
|
||||||
rm -f %{buildroot}%{_libdir}/*.a
|
rm -f %{buildroot}%{_libdir}/*.a
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
Loading…
Reference in New Issue
Block a user