Fix cycle dependencies
This commit is contained in:
parent
eb605a445c
commit
0c5eb04472
@ -1,6 +1,9 @@
|
|||||||
|
# Perform optional tests
|
||||||
|
%{bcond_without perl_HTTP_Daemon_enables_optional_test}
|
||||||
|
|
||||||
Name: perl-HTTP-Daemon
|
Name: perl-HTTP-Daemon
|
||||||
Version: 6.14
|
Version: 6.14
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Simple HTTP server class
|
Summary: Simple HTTP server class
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: https://metacpan.org/release/HTTP-Daemon
|
URL: https://metacpan.org/release/HTTP-Daemon
|
||||||
@ -31,16 +34,18 @@ BuildRequires: perl(warnings)
|
|||||||
BuildRequires: perl(Config)
|
BuildRequires: perl(Config)
|
||||||
BuildRequires: perl(File::Spec)
|
BuildRequires: perl(File::Spec)
|
||||||
BuildRequires: perl(HTTP::Tiny) >= 0.042
|
BuildRequires: perl(HTTP::Tiny) >= 0.042
|
||||||
BuildRequires: perl(LWP::RobotUA)
|
|
||||||
BuildRequires: perl(LWP::UserAgent)
|
|
||||||
BuildRequires: perl(Module::Metadata)
|
BuildRequires: perl(Module::Metadata)
|
||||||
BuildRequires: perl(Test)
|
BuildRequires: perl(Test)
|
||||||
BuildRequires: perl(Test::More) >= 0.98
|
BuildRequires: perl(Test::More) >= 0.98
|
||||||
BuildRequires: perl(Test::Needs)
|
BuildRequires: perl(Test::Needs)
|
||||||
BuildRequires: perl(URI)
|
BuildRequires: perl(URI)
|
||||||
# Optional tests:
|
# Optional tests:
|
||||||
|
%if %{with perl_HTTP_Daemon_enables_optional_test} && !%{defined %perl_bootstrap}
|
||||||
|
BuildRequires: perl(LWP::RobotUA)
|
||||||
|
BuildRequires: perl(LWP::UserAgent)
|
||||||
# CPAN::Meta not helpful
|
# CPAN::Meta not helpful
|
||||||
# CPAN::Meta::Prereqs not helpful
|
# CPAN::Meta::Prereqs not helpful
|
||||||
|
%endif
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
Requires: perl(HTTP::Date) >= 6
|
Requires: perl(HTTP::Date) >= 6
|
||||||
Requires: perl(HTTP::Request) >= 6
|
Requires: perl(HTTP::Request) >= 6
|
||||||
@ -109,6 +114,9 @@ make test
|
|||||||
%{_libexecdir}/%{name}
|
%{_libexecdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.14-2
|
||||||
|
- Fix cycle dependencies (bug #2063824)
|
||||||
|
|
||||||
* Fri Mar 04 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.14-1
|
* Fri Mar 04 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.14-1
|
||||||
- 6.14 bump
|
- 6.14 bump
|
||||||
- Package unit tests
|
- Package unit tests
|
||||||
|
Loading…
Reference in New Issue
Block a user