fix builds that set with_debug_build to 0

This commit is contained in:
David Malcolm 2011-09-14 00:10:35 -04:00
parent 0d5c338c39
commit 00fd884b35
1 changed files with 2 additions and 0 deletions

View File

@ -899,9 +899,11 @@ done
# Create "/usr/bin/python3-debug", a symlink to the python3 debug binary, to
# avoid the user having to know the precise version and ABI flags. (see
# e.g. rhbz#676748):
%if 0%{?with_debug_build}
ln -s \
%{_bindir}/python%{LDVERSION_debug} \
%{buildroot}%{_bindir}/python3-debug
%endif
#
# Systemtap hooks: