From 5625bd90a59cad1485d711e5f7d61b669c7bac2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 12 Jan 2021 12:45:06 +0100 Subject: [PATCH] Suggest File::Slurper for reading file content --- perl-Config-AutoConf.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/perl-Config-AutoConf.spec b/perl-Config-AutoConf.spec index e947a02..3007052 100644 --- a/perl-Config-AutoConf.spec +++ b/perl-Config-AutoConf.spec @@ -1,6 +1,9 @@ +# Use File::Slurper for reading file content +%bcond_without perl_Config_AutoConf_enables_File_Slurper + Name: perl-Config-AutoConf Version: 0.319 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A module to implement some of AutoConf macros in pure Perl License: GPL+ or Artistic URL: https://metacpan.org/release/Config-AutoConf @@ -22,7 +25,9 @@ BuildRequires: perl(Config) BuildRequires: perl(constant) BuildRequires: perl(Exporter) BuildRequires: perl(File::Basename) +%if %{with perl_Config_AutoConf_enables_File_Slurper} BuildRequires: perl(File::Slurper) +%endif BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) BuildRequires: perl(Text::ParseWords) @@ -32,6 +37,9 @@ BuildRequires: perl(ExtUtils::CBuilder) # Unused BuildRequires: perl(IO::String) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "$(/usr/bin/perl -V:version)"; echo $version)) +%if %{with perl_Config_AutoConf_enables_File_Slurper} +Suggests: perl(File::Slurper) +%endif %description This module simulates some of the tasks autoconf macros do. To detect @@ -57,6 +65,9 @@ a command, a library and similar. %{_mandir}/man3/* %changelog +* Tue Jan 12 2021 Petr Pisar - 0.319-2 +- Suggest File::Slurper for reading file content + * Sun Oct 04 2020 Emmanuel Seyman - 0.319-1 - Update to 0.319