diff --git a/babel.spec b/babel.spec index a3cb7e2..51e253a 100644 --- a/babel.spec +++ b/babel.spec @@ -7,12 +7,6 @@ %bcond_with bootstrap %bcond_without python2 -# We ship python2-pytest only up to F31. -%if !0%{?fedora}%{?rhel} || 0%{?fedora} >= 32 || 0%{?rhel} >= 9 -%bcond_with python2_pytest -%else -%bcond_without python2_pytest -%endif Name: babel @@ -31,11 +25,6 @@ BuildArch: noarch %if %{with python2} BuildRequires: python2-devel BuildRequires: python2-setuptools -%if %{with python2_pytest} -BuildRequires: python2-pytz -BuildRequires: python2-pytest -BuildRequires: python2-freezegun -%endif %endif BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -147,9 +136,6 @@ rm -f "$BUILDDIR/html/.buildinfo" %check export TZ=America/New_York -%if %{with python2} && %{with python2_pytest} -%{__python2} -m pytest -%endif %if !%{with bootstrap} %{__python3} -m pytest %endif