forked from pool/python-ply
This commit is contained in:
@@ -30,6 +30,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%py_requires
|
||||
%else
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1110 || 0%{?fedora} > 12 || 0%{?mdkversion}
|
||||
BuildArch: noarch
|
||||
|
||||
Reference in New Issue
Block a user