From 96942e4a627e34ed52aa0a0c14dc895ec486a36f Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 31 Aug 2011 14:28:22 +0000 Subject: Work around gdb-7.3 not honoring --without-python. --- contrib/crossrpms/gdb/install.add | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'contrib') diff --git a/contrib/crossrpms/gdb/install.add b/contrib/crossrpms/gdb/install.add index 1bdff46101..f8d0d1a586 100644 --- a/contrib/crossrpms/gdb/install.add +++ b/contrib/crossrpms/gdb/install.add @@ -40,5 +40,11 @@ fi %endif +%if "{gdb_version}" >= "7.3" +%if ! %{with python} +# gdb-7.3 doesn't honor --without-python correctly + rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gdb/python +%endif +%endif cd .. -- cgit v1.2.3