diff --git a/fftw3.changes b/fftw3.changes index 17527b6..f180b3c 100644 --- a/fftw3.changes +++ b/fftw3.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 17 13:23:12 UTC 2017 - eich@suse.com + +- Add magic to limit the number of flavors built in the + in the OBS ring. + ------------------------------------------------------------------- Sat Oct 14 17:13:06 UTC 2017 - eich@suse.com diff --git a/fftw3.spec b/fftw3.spec index 02a706a..a0b4bca 100644 --- a/fftw3.spec +++ b/fftw3.spec @@ -24,11 +24,21 @@ %define vers 3.3.5 %define _ver 3_3_5 +%bcond_with ringdisabled + %if "%flavor" == "" ExclusiveArch: do_not_build %define package_name %pname %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}" == "standard" %define mpi_flavor standard %bcond_without mpi