3.31 bump

This commit is contained in:
Jitka Plesnikova 2022-04-13 09:36:48 +02:00
parent 2c4f15d50c
commit 3aaa256a7a
3 changed files with 17 additions and 18 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/Text-ParseWords-3.29.tar.gz
/Text-ParseWords-3.30.tar.gz
/Text-ParseWords-3.31.tar.gz

View File

@ -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 <jplesnik@redhat.com> - 3.31-1
- 3.31 bump
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.30-479
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (Text-ParseWords-3.30.tar.gz) = b148160cd3bd3eeda6f28e16d59a855fc846d314d116ebf88feebb574b452188ddf803b42894c6480324ba69515ef038121def9f6dd6302d31cb37af589344ec
SHA512 (Text-ParseWords-3.31.tar.gz) = 18cdec1cdc1a23a2451704251cfa089deee7f0a618b5d12380fc4cd7dfa77e7d8eb6b5fcb2495909358123b678d2a3596fd65aaeae9c23cf9c8c289a49866af8