Hello community, here is the log from the commit of package openmpi2 for openSUSE:Factory checked in at 2017-10-13 14:10:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openmpi2 (Old) and /work/SRC/openSUSE:Factory/.openmpi2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openmpi2" Fri Oct 13 14:10:42 2017 rev:8 rq:533457 version:2.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/openmpi2/openmpi2.changes 2017-10-07 17:52:22.638788915 +0200 +++ /work/SRC/openSUSE:Factory/.openmpi2.new/openmpi2.changes 2017-10-13 14:10:45.166303517 +0200 @@ -1,0 +2,7 @@ +Tue Oct 10 13:15:22 UTC 2017 - [email protected] + +- Add a ringdisabled flag to allow building only the standard flavor + so not all flavors are pulled into staging rings +- Fix baselibs.conf generation (wrong directory and name) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openmpi2.spec ++++++ --- /var/tmp/diff_new_pack.pb6TWQ/_old 2017-10-13 14:10:46.098262536 +0200 +++ /var/tmp/diff_new_pack.pb6TWQ/_new 2017-10-13 14:10:46.102262361 +0200 @@ -45,12 +45,22 @@ %define vers 2.1.2 %define _vers 2_1_2 %define m_f_ver 2 +%bcond_with ringdisabled %if "%flavor" == "" ExclusiveArch: do_not_build %{bcond_with hpc} %define package_name %pname%{m_f_ver} %else + # Trickery for OBS Staging. If _with_ringdisabled is set + # we only want to build the flavors required by other rings packages. + # Do not build any other ones + %if %{with ringdisabled} + %if "%flavor" != "standard" +ExclusiveArch: do_not_build + %endif + %endif + %if "%flavor" == "standard" || "%flavor" == "testsuite" %define package_name %{pname}%{m_f_ver} %bcond_with hpc @@ -356,7 +366,7 @@ %endif %setup -q -n openmpi-%{version}%{git_ver} %if %{without hpc} -cat > baselib.conf <<EOF +cat > %{_sourcedir}/baselibs.conf <<EOF openmpi%{m_f_ver}-libs EOF %endif
