1
1

Merge pull request #3250 from jsquyres/pr/modulefile-in-srpm

openmpi.spec: also put the modulefile in /opt if install_in_opt==1
Этот коммит содержится в:
Jeff Squyres 2017-03-28 20:46:26 -04:00 коммит произвёл GitHub
родитель d782542c5c 9e23c5e3f6
Коммит c7c13253ea

6
contrib/dist/linux/openmpi.spec поставляемый
Просмотреть файл

@ -163,6 +163,8 @@
# bets are off. So feel free to install it anywhere in your tree. He
# suggests $prefix/doc.
%define _defaultdocdir /opt/%{name}/%{version}/doc
# Also put the modulefile in /opt.
%define modulefile_path /opt/%{name}/%{version}/share/openmpi/modulefiles
%endif
%if !%{build_debuginfo_rpm}
@ -767,6 +769,10 @@ test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
#
#############################################################################
%changelog
* Tue Mar 28 2017 Jeff Squyres <jsquyres@cisco.com>
- Reverting a decision from a prior changelog entry: if
install_in_opt==1, then even put the modulefile under /opt.
* Thu Nov 12 2015 Gilles Gouaillardet <gilles@rist.or.jp>
- Revamp packaging when prefix is /usr