forked from pool/mvapich2
Fix order as factory parser is dumb
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich2?expand=0&rev=14
This commit is contained in:
parent
56f5ea6ff5
commit
4488fcb8df
@ -16,13 +16,11 @@
|
||||
#
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%nil
|
||||
%define unset_flavor BUILD_FLAVOR
|
||||
|
||||
# Tricker to detect if BUILD_FLAVOR was not replaced and handle it gracefully
|
||||
%if "%{flavor}" == "" || "%{flavor}" == "@%{unset_flavor}@"
|
||||
%define pack_suff %{nil}
|
||||
%else
|
||||
%if "%{flavor}" != ""
|
||||
%define pack_suff -%{flavor}
|
||||
%else
|
||||
%define pack_suff %{nil}
|
||||
%endif
|
||||
|
||||
%if "%flavor" == "testsuite"
|
||||
|
Loading…
Reference in New Issue
Block a user