From 18632f1d024bfab1dc3800839f3507a0bb1c7a96 Mon Sep 17 00:00:00 2001 From: Philip Kovacs Date: Tue, 2 Jul 2019 01:23:24 -0400 Subject: [PATCH] Install libpmi/pmi2 backward-compatible libraries normally, not as a pmi environment module --- pmix.spec | 55 ++++++++++++++++++------------------------------------- 1 file changed, 18 insertions(+), 37 deletions(-) diff --git a/pmix.spec b/pmix.spec index 73e0dfd..ef08def 100644 --- a/pmix.spec +++ b/pmix.spec @@ -1,6 +1,6 @@ Name: pmix Version: 3.1.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Process Management Interface Exascale (PMIx) License: BSD URL: https://pmix.github.io/pmix/ @@ -11,7 +11,6 @@ Patch0: pmix_remove_cxx_lang.patch BuildRequires: autoconf BuildRequires: automake -BuildRequires: environment(modules) BuildRequires: flex BuildRequires: gcc BuildRequires: libevent-devel @@ -20,9 +19,6 @@ BuildRequires: perl-interpreter BuildRequires: pkgconfig(hwloc) BuildRequires: pkgconfig(munge) -Provides: pmi -Requires: environment(modules) - %description The Process Management Interface (PMI) has been used for quite some time as a means of exchanging wireup information needed for interprocess @@ -77,7 +73,7 @@ find src -name \*.l -print -exec touch --no-create {} \; --enable-pmi-backward-compatibility \ --with-munge -%make_build V=1 +%make_build %check %make_build check @@ -88,23 +84,6 @@ find src -name \*.l -print -exec touch --no-create {} \; # remove libtool archives find %{buildroot} -name '*.la' | xargs rm -f -# move libpmi/libpmi2 for environment module usage -install -d -m 0755 %{buildroot}%{_libdir}/%{name}/lib -mv %{buildroot}%{_libdir}/libpmi.so* %{buildroot}%{_libdir}/%{name}/lib -mv %{buildroot}%{_libdir}/libpmi2.so* %{buildroot}%{_libdir}/%{name}/lib - -# install pmi/pmix environment module file -install -d -m 0755 %{buildroot}%{_modulesdir}/pmi -cat >%{buildroot}%{_modulesdir}/pmi/%{name}-%{_arch} <%{buildroot}%{_libdir}/pkgconfig/%{name}.pc <%{buildroot}%{_libdir}/%{name}/lib/pkgconfig/pmi.pc <%{buildroot}%{_libdir}/pkgconfig/pmi.pc <%{buildroot}%{_libdir}/%{name}/lib/pkgconfig/pmi2.pc <%{buildroot}%{_libdir}/pkgconfig/pmi2.pc < - 3.1.2-2 +- Install libpmi/pmi2 backward-compatible libraries normally, +- not as a pmi environment module + * Wed Jun 19 2019 Philip Kovacs - 3.1.2-1 - Update to 3.1.2 - Replace __make with make