From 25a4dc3c786620c55fc8f7209f9cbeeaa09e9f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 28 Aug 2019 17:49:36 +0200 Subject: [PATCH] Replace all `%if ! %{with bootstrap}` with `%if %{without bootstrap}` --- python-wheel.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}}