From db09814966e424ecf41f923d1bd36524b4f7f896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= <con...@redhat.com> Date: Mon, 25 Jan 2016 17:31:17 +0100 Subject: 0.21 bump
--- .gitignore | 1 + perl-Tangerine.spec | 14 ++++++++++++-- sources | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 251f245..ed3f3c0 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /Tangerine-0.17.tar.gz /Tangerine-0.18.tar.gz /Tangerine-0.19.tar.gz +/Tangerine-0.21.tar.gz diff --git a/perl-Tangerine.spec b/perl-Tangerine.spec index 7b0e25c..f6f1d37 100644 --- a/perl-Tangerine.spec +++ b/perl-Tangerine.spec @@ -1,5 +1,5 @@ Name: perl-Tangerine -Version: 0.19 +Version: 0.21 Release: 1%{?dist} Summary: Analyse perl files and report module-related information License: MIT @@ -15,9 +15,14 @@ BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) BuildRequires: perl(warnings) +BuildRequires: sed # Runtime BuildRequires: perl(Exporter) +%if ! ( 0%{?rhel} ) +BuildRequires: perl(List::Util) >= 1.33 +%else BuildRequires: perl(List::MoreUtils) +%endif BuildRequires: perl(parent) BuildRequires: perl(PPI) BuildRequires: perl(Scalar::Util) @@ -33,6 +38,9 @@ dependencies) modules. %prep %setup -q -n Tangerine-%{version} +%if 0%{?rhel} +find lib -type f -exec sed -e 's/List::Util 1.33/List::MoreUtils/g' -i {} + +%endif %build perl Makefile.PL INSTALLDIRS=vendor @@ -47,13 +55,15 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} + make test %files -%{!?_licensedir:%global license %%doc} %license LICENSE %doc Changes CONTRIBUTING README.md TODO %{perl_vendorlib}/* %{_mandir}/man*/* %changelog +* Mon Jan 25 2016 Petr Šabata <con...@redhat.com> - 0.21-1 +- 0.21 bump + * Mon Aug 24 2015 Petr Šabata <con...@redhat.com> - 0.19-1 - 0.19 bump diff --git a/sources b/sources index 25b0d62..8998847 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e795bef5518a77c36936be92ce8402da Tangerine-0.19.tar.gz +4dc3d924482b8c31bb448e475bc457f3 Tangerine-0.21.tar.gz -- cgit v0.11.2 http://pkgs.fedoraproject.org/cgit/perl-Tangerine.git/commit/?h=el6&id=db09814966e424ecf41f923d1bd36524b4f7f896 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org