Use global instead of define

This commit is contained in:
pcpa 2015-12-27 19:27:07 -02:00
parent 33e2bb1096
commit 77fbd923f1
1 changed files with 4 additions and 4 deletions

View File

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