diff --git a/_multibuild b/_multibuild index f4bc44c..1e5398d 100644 --- a/_multibuild +++ b/_multibuild @@ -1,4 +1,4 @@ - + gnu-openmpi-hpc gnu-mvapich2-hpc diff --git a/mpiP.changes b/mpiP.changes index 59dc6c2..1f89525 100644 --- a/mpiP.changes +++ b/mpiP.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 17 13:55:39 UTC 2017 - eich@suse.com + +- Add magic to limit the number of flavors built in the + in the OBS ring. + ------------------------------------------------------------------- Fri Oct 13 11:20:18 UTC 2017 - jengelh@inai.de diff --git a/mpiP.spec b/mpiP.spec index 99a3af4..063969d 100644 --- a/mpiP.spec +++ b/mpiP.spec @@ -22,10 +22,20 @@ %define vers 3.4.1 %define _vers 3_4_1 +%bcond_with ringdisabled + %if "%flavor" == "" ExclusiveArch: do_not_build %endif +# Magic for OBS Staging. Only build the flavors required by +# other packages in the ring. +%if %{with ringdisabled} + %if "%flavor" != "standard" +ExclusiveArch: do_not_build + %endif +%endif + %if "%{flavor}" == "gnu-openmpi-hpc" %global compiler_family gnu %undefine c_f_ver