From 8876ac66aff3eefd0bd0aff46b61fc89aead340f Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Apr 27 2009 22:40:40 +0000 Subject: - Support a new rpmbuild option: --without python --- diff --git a/gdb.spec b/gdb.spec index bf0ff68..bfa46a7 100644 --- a/gdb.spec +++ b/gdb.spec @@ -393,9 +393,9 @@ BuildRequires: rpm-devel %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Requires: python-libs BuildRequires: python-devel -%endif # 0%{!?_without_python:1} # Temporarily before it gets moved to libstdc++.rpm BuildRequires: libstdc++ +%endif # 0%{!?_without_python:1} %if 0%{?_with_testsuite:1} BuildRequires: sharutils dejagnu