1
0
forked from pool/python-mccabe
Dirk Mueller 2013-04-23 19:40:12 +00:00 committed by Git OBS Bridge
parent 18fb275909
commit c47cc7967d

View File

@ -26,7 +26,12 @@ Source: http://pypi.python.org/packages/source/m/mccabe/mccabe-%{version
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-distribute BuildRequires: python-distribute
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%else
BuildArch: noarch BuildArch: noarch
%endif
%description %description
Ned's script to check McCabe complexity. Ned's script to check McCabe complexity.