Suggest Scalar::Util for detecting numbers
This commit is contained in:
parent
5625bd90a5
commit
3fe8cb9c95
@ -1,5 +1,7 @@
|
||||
# Use File::Slurper for reading file content
|
||||
%bcond_without perl_Config_AutoConf_enables_File_Slurper
|
||||
# Use Scalar::Util for detecting numbers
|
||||
%bcond_without perl_Config_AutoConf_enables_Scalar_Util
|
||||
|
||||
Name: perl-Config-AutoConf
|
||||
Version: 0.319
|
||||
@ -30,6 +32,9 @@ BuildRequires: perl(File::Slurper)
|
||||
%endif
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::Temp)
|
||||
%if %{with perl_Config_AutoConf_enables_Scalar_Util}
|
||||
BuildRequires: perl(Scalar::Util) >= 1.18
|
||||
%endif
|
||||
BuildRequires: perl(Text::ParseWords)
|
||||
# Tests only
|
||||
BuildRequires: perl(Cwd)
|
||||
@ -40,6 +45,9 @@ Requires: perl(:MODULE_COMPAT_%(eval "$(/usr/bin/perl -V:version)"; echo $
|
||||
%if %{with perl_Config_AutoConf_enables_File_Slurper}
|
||||
Suggests: perl(File::Slurper)
|
||||
%endif
|
||||
%if %{with perl_Config_AutoConf_enables_Scalar_Util}
|
||||
Suggests: perl(Scalar::Util) >= 1.18
|
||||
%endif
|
||||
|
||||
%description
|
||||
This module simulates some of the tasks autoconf macros do. To detect
|
||||
@ -67,6 +75,7 @@ a command, a library and similar.
|
||||
%changelog
|
||||
* Tue Jan 12 2021 Petr Pisar <ppisar@redhat.com> - 0.319-2
|
||||
- Suggest File::Slurper for reading file content
|
||||
- Suggest Scalar::Util for detecting numbers
|
||||
|
||||
* Sun Oct 04 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 0.319-1
|
||||
- Update to 0.319
|
||||
|
||||
Loading…
Reference in New Issue
Block a user