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

View File

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