Accepting request 534460 from home:eeich:branches:multimedia:libs

- Add magic to limit the number of flavors built in the
  in the OBS ring.

OBS-URL: https://build.opensuse.org/request/show/534460
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fftw3?expand=0&rev=47
This commit is contained in:
Takashi Iwai 2017-10-17 19:26:22 +00:00 committed by Git OBS Bridge
parent 223049c390
commit 61631e4df1
2 changed files with 16 additions and 0 deletions

View File

@ -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

View File

@ -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