- Add magic to limit the number of flavors built in the

in the OBS ring.

OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=56
This commit is contained in:
Egbert Eich 2017-10-17 13:39:15 +00:00 committed by Git OBS Bridge
parent 48de63cb9e
commit fcc6124211
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 17 13:38:47 UTC 2017 - eich@suse.com
- Add magic to limit the number of flavors built in the
in the OBS ring.
-------------------------------------------------------------------
Thu Oct 12 10:01:10 UTC 2017 - eich@suse.com

View File

@ -22,11 +22,21 @@
%define vers 0.2.20
%define pname openblas
%bcond_with ringdisabled
%if "%flavor" == ""
%define package_name %{pname}
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" != "serial"
ExclusiveArch: do_not_build
%endif
%endif
%global build_flags USE_THREAD=1 USE_OPENMP=1
%if "%flavor" == "serial"