From 3aaa256a7a684108d1a04096ea496405ba201534 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Wed, 13 Apr 2022 09:36:48 +0200 Subject: [PATCH] 3.31 bump --- .gitignore | 1 + perl-Text-ParseWords.spec | 32 +++++++++++++++----------------- sources | 2 +- 3 files changed, 17 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index 38751a4..06e7f8d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /Text-ParseWords-3.29.tar.gz /Text-ParseWords-3.30.tar.gz +/Text-ParseWords-3.31.tar.gz diff --git a/perl-Text-ParseWords.spec b/perl-Text-ParseWords.spec index 1eb4174..5e2fe1b 100644 --- a/perl-Text-ParseWords.spec +++ b/perl-Text-ParseWords.spec @@ -1,24 +1,25 @@ Name: perl-Text-ParseWords -Version: 3.30 -Release: 479%{?dist} +Version: 3.31 +Release: 1%{?dist} Summary: Parse text into an array of tokens or array of arrays License: GPL+ or Artistic URL: https://metacpan.org/release/Text-ParseWords -Source0: https://cpan.metacpan.org/authors/id/C/CH/CHORNY/Text-ParseWords-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/Text-ParseWords-%{version}.tar.gz BuildArch: noarch -BuildRequires: make -BuildRequires: perl-interpreter +BuildRequires: coreutils +BuildRequires: make BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Run-time: BuildRequires: perl(Carp) BuildRequires: perl(Exporter) BuildRequires: perl(strict) +BuildRequires: perl(warnings) # Tests: # Config not used BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::More) -BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Carp) @@ -29,24 +30,18 @@ up into a list of words ignoring delimiters that appear inside quotes. quotewords() returns all of the tokens in a single long list, while nested_quotewords() returns a list of token lists corresponding to the elements of @lines. parse_line() does tokenizing on a single string. The -quotewords() functions simply call &parse_line(), so if you're only splitting +quotewords() functions simply call parse_line(), so if you're only splitting one line you can call parse_line() directly and save a function call. %prep %setup -q -n Text-ParseWords-%{version} -for F in CHANGES README; do - tr -d "\r" < "$F" > "${F}.unix" - touch -r "$F" "${F}.unix" - mv "${F}.unix" "$F" -done %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=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -58,6 +53,9 @@ make test %{_mandir}/man3/* %changelog +* Wed Apr 13 2022 Jitka Plesnikova - 3.31-1 +- 3.31 bump + * Fri Jan 21 2022 Fedora Release Engineering - 3.30-479 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 7861f3c..6bb7dc5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Text-ParseWords-3.30.tar.gz) = b148160cd3bd3eeda6f28e16d59a855fc846d314d116ebf88feebb574b452188ddf803b42894c6480324ba69515ef038121def9f6dd6302d31cb37af589344ec +SHA512 (Text-ParseWords-3.31.tar.gz) = 18cdec1cdc1a23a2451704251cfa089deee7f0a618b5d12380fc4cd7dfa77e7d8eb6b5fcb2495909358123b678d2a3596fd65aaeae9c23cf9c8c289a49866af8