From 05840c2783694c9b06ad3957e04d52a994090401 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <con...@redhat.com>
Date: Thu, 25 Feb 2016 19:27:23 +0100
Subject: 0.22 bump

---
 .gitignore          |  1 +
 perl-Tangerine.spec | 19 ++++++++++++-------
 sources             |  2 +-
 3 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/.gitignore b/.gitignore
index ed3f3c0..8ea28c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
 /Tangerine-0.18.tar.gz
 /Tangerine-0.19.tar.gz
 /Tangerine-0.21.tar.gz
+/Tangerine-0.22.tar.gz
diff --git a/perl-Tangerine.spec b/perl-Tangerine.spec
index facea41..f82aaf7 100644
--- a/perl-Tangerine.spec
+++ b/perl-Tangerine.spec
@@ -1,6 +1,6 @@
 Name:           perl-Tangerine
-Version:        0.21
-Release:        2%{?dist}
+Version:        0.22
+Release:        1%{?dist}
 Summary:        Analyse perl files and report module-related information
 License:        MIT
 Group:          Development/Libraries
@@ -8,7 +8,6 @@ URL:            http://search.cpan.org/dist/Tangerine/
 Source0:        
http://www.cpan.org/authors/id/C/CO/CONTYK/Tangerine-%{version}.tar.gz
 BuildArch:      noarch
 # Build
-BuildRequires:  coreutils
 BuildRequires:  findutils
 BuildRequires:  make
 BuildRequires:  perl
@@ -27,9 +26,15 @@ BuildRequires:  perl(parent)
 BuildRequires:  perl(PPI)
 BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(utf8)
+BuildRequires:  perl(version) >= 0.77
 # Tests only
 BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
+%if ! ( 0%{?rhel} )
+Requires:       perl(List::Util) >= 1.33
+%else
+Requires:       perl(List::MoreUtils)
+%endif
 
 %description
 Tangerine statically analyses perl files and reports various information
@@ -38,9 +43,6 @@ 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
@@ -48,7 +50,7 @@ make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} +
+find %{buildroot} -type f -name .packlist -delete
 %{_fixperms} %{buildroot}/*
 
 %check
@@ -61,6 +63,9 @@ make test
 %{_mandir}/man*/*
 
 %changelog
+* Thu Feb 25 2016 Petr Ĺ abata <con...@redhat.com> - 0.22-1
+- 0.22 bump
+
 * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 
0.21-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
diff --git a/sources b/sources
index 8998847..a278ce1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4dc3d924482b8c31bb448e475bc457f3  Tangerine-0.21.tar.gz
+0f17bc79f29dd6ef8de2442d65989bf8  Tangerine-0.22.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Tangerine.git/commit/?h=epel7&id=05840c2783694c9b06ad3957e04d52a994090401
--
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

Reply via email to