add perl_bootstrap for first time build

Signed-off-by: lcrpkking <pkwarcraft@gmail.com>
This commit is contained in:
lcrpkking 2023-02-10 06:42:26 +00:00
parent 9ac4b77059
commit 71643e6ac8

View File

@ -2,6 +2,8 @@
%bcond_without perl_POE_enables_network_test %bcond_without perl_POE_enables_network_test
# Perform optional tests # Perform optional tests
%bcond_without perl_POE_enables_optional_test %bcond_without perl_POE_enables_optional_test
# first time build, we need perl_bootstrap to break circular deps
%global perl_bootstrap 1
Name: perl-POE Name: perl-POE
Version: 1.370 Version: 1.370
@ -70,13 +72,13 @@ BuildRequires: perl(List::Util)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(Tie::Handle) BuildRequires: perl(Tie::Handle)
BuildRequires: perl(Time::HiRes) >= 1.59 BuildRequires: perl(Time::HiRes) >= 1.59
%if %{with perl_POE_enables_optional_test} #%if %{with perl_POE_enables_optional_test}
# Optional tests: # Optional tests:
%if !%{defined perl_bootstrap} #%if !%{defined perl_bootstrap}
BuildRequires: perl(POE::Test::Loops) >= 1.360 BuildRequires: perl(POE::Test::Loops) >= 1.360
%endif #%endif
BuildRequires: perl(YAML) BuildRequires: perl(YAML)
%endif #%endif
Requires: perl(bytes) Requires: perl(bytes)
Recommends: perl(Compress::Zlib) >= 1.33 Recommends: perl(Compress::Zlib) >= 1.33
Requires: perl(Curses) >= 1.08 Requires: perl(Curses) >= 1.08