[perl-PPIx-EditorTools] 0.17 bump

Petr Pisar ppisar at fedoraproject.org
Mon Aug 20 11:53:59 UTC 2012


commit 2da4dd8d4751482a807396dd54c92dedd3dfc08f
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Aug 20 13:52:49 2012 +0200

    0.17 bump

 .gitignore                 |    1 +
 perl-PPIx-EditorTools.spec |   43 ++++++++++++++++++++++++-------------------
 sources                    |    2 +-
 3 files changed, 26 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6b3403c..117b7c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ PPIx-EditorTools-0.09.tar.gz
 /PPIx-EditorTools-0.12.tar.gz
 /PPIx-EditorTools-0.13.tar.gz
 /PPIx-EditorTools-0.15.tar.gz
+/PPIx-EditorTools-0.17.tar.gz
diff --git a/perl-PPIx-EditorTools.spec b/perl-PPIx-EditorTools.spec
index 6498440..93ef064 100644
--- a/perl-PPIx-EditorTools.spec
+++ b/perl-PPIx-EditorTools.spec
@@ -1,33 +1,36 @@
 Name:           perl-PPIx-EditorTools
-Version:        0.15
-Release:        6%{?dist}
+Version:        0.17
+Release:        1%{?dist}
 Summary:        Utility methods and base class for manipulating Perl via PPI
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/PPIx-EditorTools/
-Source0:        http://search.cpan.org/CPAN/authors/id/A/AZ/AZAWAWI/PPIx-EditorTools-%{version}.tar.gz
+Source0:        http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/PPIx-EditorTools-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  perl(inc::Module::Install) >= 1.00
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(Class::XSAccessor) >= 1.02
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
 BuildRequires:  perl(File::Spec)
-BuildRequires:  perl(PPI) >= 1.203
+BuildRequires:  perl(PPI) >= 1.215
+BuildRequires:  perl(PPI::Find)
+BuildRequires:  perl(Try::Tiny)
 # Tests only:
-# Real version perl(Test::Differences) >= 0.4801 clamped to 2 digits
-BuildRequires:  perl(Test::Differences) >= 0.48
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Test::Differences)
 BuildRequires:  perl(Test::More) >= 0.88
 BuildRequires:  perl(Test::Most)
-BuildRequires:  perl(Test::NoWarnings) >= 0.084
-BuildRequires:  perl(Test::Warn)
 BuildRequires:  perl(Test::Exception)
-BuildRequires:  perl(Test::Deep)
+# Optional tests:
+BuildRequires:  perl(Test::NoWarnings) >= 0.084
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:       perl(Class::XSAccessor) >= 1.02
-Requires:       perl(File::Spec)
-Requires:       perl(PPI) >= 1.203
+Requires:       perl(PPI) >= 1.215
+Requires:       perl(PPI::Find)
 
-%filter_from_requires /^perl(Class::XSAccessor)$/
-%filter_setup
-%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Class::XSAccessor\\)$
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Class::XSAccessor\\)$
+%global __requires_exclude %{__requires_exclude}|^perl\\(PPI\\) >= 1.203$
 
 %description
 Base class and utility methods for manipulating Perl via PPI. Pulled out
@@ -35,27 +38,29 @@ from the Padre::Task::PPI code.
 
 %prep
 %setup -q -n PPIx-EditorTools-%{version}
+rm -r inc/*
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Mon Aug 20 2012 Petr Pisar <ppisar at redhat.com> - 0.17-1
+- 0.17 bump
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.15-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 8ce79b4..6bd6ea6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b4b9b3f9f332d9be97de941bdc8bf192  PPIx-EditorTools-0.15.tar.gz
+fe01af5b5afde3b500d471e0664f5421  PPIx-EditorTools-0.17.tar.gz



More information about the perl-devel mailing list