[python3] fix builds that set with_debug_build to 0
dmalcolm
dmalcolm at fedoraproject.org
Wed Sep 14 18:24:20 UTC 2011
commit 00fd884b35916be732975aa1d3cbeeb7d7968951
Author: David Malcolm <dmalcolm at redhat.com>
Date: Wed Sep 14 00:10:35 2011 -0400
fix builds that set with_debug_build to 0
python3.spec | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
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:
More information about the scm-commits
mailing list