%prep
%setup -q -n %{module}-%{version}
-# setup copy of source in py3 dir
-set -- *
-install -d py3
-cp -a "$@" py3
-
%build
%if %{with python2}
CC="%{__cc}" \
%dir %{py_sitedir}/geventhttpclient
%{py_sitedir}/geventhttpclient/*.py[co]
%attr(755,root,root) %{py_sitedir}/geventhttpclient/*.so
-%if "%{py_ver}" > "2.4"
%{py_sitedir}/%{module}-%{version}-py*.egg-info
%endif
-%endif
%if %{with python3}
%files -n python3-%{module}