From f6c800de4170ee1f03ff959203b3c4ee54a73e07 Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Jul 24 2020 07:35:21 +0000 Subject: 1860180 - rebase to upstream version 1.30. --- diff --git a/.gitignore b/.gitignore index 12c8473..e6f83bf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /String-Util-1.24.tar.gz /String-Util-1.26.tar.gz +/String-Util-1.30.tar.gz diff --git a/perl-String-Util.spec b/perl-String-Util.spec index f3f0ce3..334bb5c 100644 --- a/perl-String-Util.spec +++ b/perl-String-Util.spec @@ -1,30 +1,28 @@ Name: perl-String-Util -Version: 1.26 -Release: 12%{?dist} +Version: 1.30 +Release: 1%{?dist} Summary: String processing utilities License: GPL+ or Artistic URL: https://metacpan.org/release/String-Util -Source0: https://cpan.metacpan.org/authors/id/M/MI/MIKO/String-Util-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/B/BA/BAKERSCOT/String-Util-%{version}.tar.gz BuildArch: noarch # Build -BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(Module::Build::Tiny) >= 0.034 # Runtime BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Encode) BuildRequires: perl(Exporter) -BuildRequires: perl(Number::Misc) >= 1.2 BuildRequires: perl(overload) BuildRequires: perl(strict) BuildRequires: perl(vars) # Tests only -BuildRequires: perl(Test::Toolbox) >= 0.2 +BuildRequires: perl(Test::More) + Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(Encode) -Requires: perl(Number::Misc) %description String::Util provides a collection of small, handy utilities for @@ -34,15 +32,15 @@ processing strings. %setup -q -n String-Util-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 -make %{?_smp_mflags} +perl Build.PL +./Build %install -make pure_install DESTDIR=%{buildroot} +./Build install --destdir=%{buildroot} --installdir=vendor --create_packlist=0 %{_fixperms} %{buildroot}/* %check -make test +./Build test %files %license LICENSE @@ -51,6 +49,9 @@ make test %{_mandir}/man3/* %changelog +* Fri Jul 24 2020 Jan Pazdziora - 1.30-1 +- 1860180 - rebase to upstream version 1.30. + * Tue Jun 23 2020 Jitka Plesnikova - 1.26-12 - Perl 5.32 rebuild diff --git a/sources b/sources index c9cff5e..c765f27 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d0f13f8688bedef7174634bb57f7fbe4 String-Util-1.26.tar.gz +SHA512 (String-Util-1.30.tar.gz) = 3e9166f3b36f75cf44c18dcffefcd78ca206328ddc452edba3e897006d7fdf3ce6ed8b5499c31a4e22f3ede9971e8e8fbbaa7db168299425fbda0a1055d162da