diff --git a/perl-IO-String.spec b/perl-IO-String.spec index e342df8..b73c46d 100644 --- a/perl-IO-String.spec +++ b/perl-IO-String.spec @@ -1,16 +1,21 @@ Name: perl-IO-String Version: 1.08 -Release: 37%{?dist} +Release: 38%{?dist} Summary: Emulate file interface for in-core strings License: GPL+ or Artistic URL: https://metacpan.org/release/IO-String Source0: https://cpan.metacpan.org/authors/id/G/GA/GAAS/IO-String-%{version}.tar.gz BuildArch: noarch +BuildRequires: make BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Run-time: BuildRequires: perl(Data::Dumper) BuildRequires: perl(IO::Handle) +BuildRequires: perl(strict) +BuildRequires: perl(Symbol) +BuildRequires: perl(vars) # Tests: BuildRequires: perl(Test) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) @@ -36,13 +41,12 @@ the code backwards compatible with older versions of Perl. %setup -q -n IO-String-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} %install -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -chmod -R u+w %{buildroot}/* +%{make_install} +%{_fixperms} %{buildroot}/* %check make test @@ -54,6 +58,9 @@ make test %changelog +* Mon Feb 24 2020 Jitka Plesnikova - 1.08-38 +- Modernize spec + * Thu Jan 30 2020 Fedora Release Engineering - 1.08-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild