diff --git a/python-betamax.spec b/python-betamax.spec index 814c0f2..7c5d901 100644 --- a/python-betamax.spec +++ b/python-betamax.spec @@ -16,6 +16,7 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-betamax Version: 0.8.0 Release: 0 @@ -24,7 +25,6 @@ License: Apache-2.0 Group: Development/Languages/Python Url: https://github.com/sigmavirus24/betamax Source: https://pypi.io/packages/source/b/betamax/betamax-%{version}.tar.gz -BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros Requires: python-requests >= 2.0