Use global instead of define
This commit is contained in:
parent
33e2bb1096
commit
77fbd923f1
8
0ad.spec
8
0ad.spec
|
@ -3,11 +3,11 @@
|
||||||
# enable special maintainer debug build ?
|
# enable special maintainer debug build ?
|
||||||
%bcond_with debug
|
%bcond_with debug
|
||||||
%if %{with debug}
|
%if %{with debug}
|
||||||
%define config debug
|
%global config debug
|
||||||
%define dbg _dbg
|
%global dbg _dbg
|
||||||
%else
|
%else
|
||||||
%define config release
|
%global config release
|
||||||
%define dbg %{nil}
|
%global dbg %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Remember to rerun licensecheck after every update:
|
# Remember to rerun licensecheck after every update:
|
||||||
|
|
Loading…
Reference in New Issue