- Support a new rpmbuild option: --without python
This commit is contained in:
parent
b39dc5cfa9
commit
8876ac66af
2
gdb.spec
2
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()")}
|
%{!?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
|
||||||
|
Loading…
Reference in New Issue
Block a user