diff --git a/python-wheel.spec b/python-wheel.spec index a97cf22..52b9eb2 100644 --- a/python-wheel.spec +++ b/python-wheel.spec @@ -19,7 +19,7 @@ URL: https://github.com/pypa/wheel Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch -%if ! %{with bootstrap} +%if %{without bootstrap} # several tests compile extensions # those tests are skipped if gcc is not found BuildRequires: gcc @@ -41,7 +41,7 @@ compatible install in a way that is very close to the on-disk format. Summary: %{summary} BuildRequires: python2-devel BuildRequires: python2-setuptools -%if ! %{with bootstrap} && 0%{?fedora} < 32 +%if %{without bootstrap} && 0%{?fedora} < 32 BuildRequires: python2-pytest %endif %{?python_provide:%python_provide python2-%{pypi_name}}