diff --git a/pmix.spec b/pmix.spec index 0fa3627..6e1495d 100644 --- a/pmix.spec +++ b/pmix.spec @@ -1,11 +1,14 @@ Name: pmix Version: 2.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Process Management Interface Exascale (PMIx) License: BSD URL: https://pmix.github.io/pmix/ Source0: https://github.com/pmix/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2 +# Remove configure check for C++ since requires only C +Patch0: pmix_remove_cxx_lang.patch + BuildRequires: autoconf BuildRequires: automake BuildRequires: environment(modules) @@ -49,6 +52,7 @@ developing applications that use %{name}. %prep %setup -q -n %{name}-%{version} +%patch0 -p1 echo touching lexer sources to recompile them ... find src -name \*.l -print -exec touch --no-create {} \; @@ -165,6 +169,9 @@ EOF %{_mandir}/man[37]/* %changelog +* Sun Feb 18 2018 Philip Kovacs - 2.1.0-3 +- Add patch to remove unneeded check for C++ + * Thu Feb 15 2018 Philip Kovacs - 2.1.0-2 - Rebuild for libevent soname bump diff --git a/pmix_remove_cxx_lang.patch b/pmix_remove_cxx_lang.patch new file mode 100644 index 0000000..9ef57bf --- /dev/null +++ b/pmix_remove_cxx_lang.patch @@ -0,0 +1,12 @@ +diff --git a/configure.ac b/configure.ac +index 9be66d9..b3f4a3d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -176,7 +176,6 @@ AS_IF([test "$pmix_debug" = "1"], + + LT_INIT() + LT_LANG([C]) +-LT_LANG([C++]) + + ############################################################################ + # Setup the core