From 00fd884b35916be732975aa1d3cbeeb7d7968951 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Sep 14 2011 04:10:35 +0000 Subject: fix builds that set with_debug_build to 0 --- diff --git a/python3.spec b/python3.spec index ac462b6..84d0847 100644 --- a/python3.spec +++ b/python3.spec @@ -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: