diff --git a/python-requests.spec b/python-requests.spec index 31e2386..a094e81 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -3,7 +3,8 @@ %else %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")} %endif - +# Turn off the brp-python-bytecompile script +#%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') Name: python-requests Version: 1.1.0 Release: 3%{?dist} @@ -24,6 +25,7 @@ Patch2: python-requests-system-urllib3.patch BuildArch: noarch BuildRequires: python2-devel + BuildRequires: python-chardet BuildRequires: python-urllib3