%global _empty_manifest_terminate_build 0 Name: perl-File-Slurper Version: 0.014 Release: 1 Summary: Simple, sane and efficient module to slurp a file License: GPL-1.0-or-later OR Artistic-1.0-Perl Group: Development/Libraries URL: https://search.cpan.org/dist/File-Slurper/ Source0: https://www.cpan.org/authors/id/L/LE/LEONT/File-Slurper-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # Build BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Runtime BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Encode) >= 2.11 BuildRequires: perl(Exporter) >= 5.57 BuildRequires: perl(PerlIO::encoding) BuildRequires: perl(PerlIO::utf8_strict) # Tests only BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(File::Temp) BuildRequires: perl(FindBin) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Warnings) Recommends: perl(PerlIO::utf8_strict) %description This module provides functions for fast and correct slurping and spewing. All functions are optionally exported. All functions throw exceptions on errors, write functions don't return any meaningful value. %package help Summary : Simple, sane and efficient module to slurp a file Provides: perl-File-Slurper-doc %description help This module provides functions for fast and correct slurping and spewing. All functions are optionally exported. All functions throw exceptions on errors, write functions don't return any meaningful value. %prep %setup -q -n File-Slurper-%{version} # Help generators to recognize Perl scripts for F in t/*.t; do perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" chmod +x "$F" done %build %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} %{buildroot}/* %check make test %files %defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Thu Jul 20 2023 leeffo - 0.014-1 - upgrade to version 0.014 * Thu Jun 11 2020 Perl_Bot - 0.012-1 - Specfile autogenerated by Perl_Bot