diff --git a/python-hvac.spec b/python-hvac.spec index 61d2d7b..9ed377c 100644 --- a/python-hvac.spec +++ b/python-hvac.spec @@ -38,6 +38,11 @@ This is for Python 3. # Remove bundled egg-info rm -rf %{pypi_name}.egg-info +%if 0%{?el8} +# Lower dependency to requests 2.20+ for EL8 +sed -e "s/requests>=2.21.0/requests>=2.20.0/" -i setup.py +%endif + %build %py3_build