- Support a new rpmbuild option: --without python

This commit is contained in:
Jan Kratochvil 2009-04-27 22:40:40 +00:00
parent b39dc5cfa9
commit 8876ac66af

View File

@ -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()")} %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Requires: python-libs Requires: python-libs
BuildRequires: python-devel BuildRequires: python-devel
%endif # 0%{!?_without_python:1}
# Temporarily before it gets moved to libstdc++.rpm # Temporarily before it gets moved to libstdc++.rpm
BuildRequires: libstdc++ BuildRequires: libstdc++
%endif # 0%{!?_without_python:1}
%if 0%{?_with_testsuite:1} %if 0%{?_with_testsuite:1}
BuildRequires: sharutils dejagnu BuildRequires: sharutils dejagnu