Replace all %if ! %{with bootstrap} with %if %{without bootstrap}

This commit is contained in:
Miro Hrončok 2019-08-28 17:49:36 +02:00
parent 1e3c165907
commit 25a4dc3c78

View File

@ -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}}