Allow to use the bootstrap bcond to disable tests

This makes it possible to bootstrap the package in EPEL 10
without flipping the bcond in the spec.

The bootstrap bcond needs to be defined before the Release tag to change %dist value.

[skip changelog]

(cherry picked from commit 2f7fc25415ddbc353e535654a551a2a3263a4e63)
epel9
Miro Hrončok 6 months ago
parent ca9d11073f
commit d0c252f259

@ -1,3 +1,6 @@
%bcond bootstrap 0
%bcond tests %{without bootstrap}
Name: python-virtualenv
Version: 20.21.1
Release: %autorelease
@ -40,7 +43,6 @@ BuildArch: noarch
BuildRequires: python3-devel
%bcond_without tests
%if %{with tests}
BuildRequires: fish
BuildRequires: tcsh

Loading…
Cancel
Save