[perl-Path-Class] Update to 0.34

Paul Howarth pghmcfc at fedoraproject.org
Mon Sep 8 19:24:43 UTC 2014


commit 0eef9bca54ad8c9b72f0992565ba72faa103ed50
Author: Paul Howarth <paul at city-fan.org>
Date:   Mon Sep 8 20:22:07 2014 +0100

    Update to 0.34
    
    - New upstream release 0.34:
      - Add a new spew_lines() method
      - Don't convert file into directory in subsumes()
      - Updated POD for copy_to and move_to methods
      - Stringify destination for copy_to method
      - Stringify destination for move_to method
      - Add Continuous Integration with Travis CI
      - Change bugtracker to github's
    - Use %license where possible

 perl-Path-Class.spec |   31 ++++++++++++++++++++++++++-----
 sources              |    2 +-
 2 files changed, 27 insertions(+), 6 deletions(-)
---
diff --git a/perl-Path-Class.spec b/perl-Path-Class.spec
index 98979ef..fd6853c 100644
--- a/perl-Path-Class.spec
+++ b/perl-Path-Class.spec
@@ -1,12 +1,13 @@
 Name:		perl-Path-Class
-Version:	0.33
-Release:	4%{?dist}
+Version:	0.34
+Release:	1%{?dist}
 Summary:	Cross-platform path specification manipulation
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/Path-Class/
 Source0:	http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-%{version}.tar.gz
 BuildArch:	noarch
+BuildRequires:	perl
 BuildRequires:	perl(Carp)
 BuildRequires:	perl(Cwd)
 BuildRequires:	perl(Exporter)
@@ -18,15 +19,19 @@ BuildRequires:	perl(File::Temp)
 BuildRequires:	perl(IO::Dir)
 BuildRequires:	perl(IO::File)
 BuildRequires:	perl(Module::Build) > 0.36
+BuildRequires:	perl(overload)
 BuildRequires:	perl(parent)
 BuildRequires:	perl(Perl::OSType)
 BuildRequires:	perl(Scalar::Util)
+BuildRequires:	perl(strict)
+BuildRequires:	perl(Test)
 BuildRequires:	perl(Test::More)
 %if !%{defined perl_bootstrap}
 # Cycle: perl-Path-Class → perl-Test-Perl-Critic → perl-Perl-Critic →
 # perl-Pod-Spell → perl-File-ShareDir-ProjectDistDir → perl-Path-Class
 BuildRequires:	perl(Test::Perl::Critic)
 %endif
+BuildRequires:	perl(warnings)
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
@@ -40,18 +45,23 @@ and NetWare.
 %setup -q -n Path-Class-%{version}
 
 %build
-perl Build.PL installdirs=vendor
+perl Build.PL --installdirs=vendor
 ./Build
 
 %install
-./Build install destdir=%{buildroot} create_packlist=0
+./Build install --destdir=%{buildroot} --create_packlist=0
 %{_fixperms} %{buildroot}
 
 %check
 AUTHOR_TESTING=1 ./Build test
 
 %files
-%doc Changes LICENSE README
+%if 0%{?_licensedir:1}
+%license LICENSE
+%else
+%doc LICENSE
+%endif
+%doc Changes README
 %{perl_vendorlib}/Path/
 %{_mandir}/man3/Path::Class.3pm*
 %{_mandir}/man3/Path::Class::Dir.3pm*
@@ -59,6 +69,17 @@ AUTHOR_TESTING=1 ./Build test
 %{_mandir}/man3/Path::Class::File.3pm*
 
 %changelog
+* Mon Sep  8 2014 Paul Howarth <paul at city-fan.org> - 0.34-1
+- Update to 0.34:
+  - Add a new spew_lines() method
+  - Don't convert file into directory in subsumes()
+  - Updated POD for copy_to and move_to methods
+  - Stringify destination for copy_to method
+  - Stringify destination for move_to method
+  - Add Continuous Integration with Travis CI
+  - Change bugtracker to github's
+- Use %%license where possible
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.33-4
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index a44f95a..5e0e0cc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bac152fffe772252bbcfc2f15dc3bb34  Path-Class-0.33.tar.gz
+9e85e4cfb62c6fe9e455810a687fc981  Path-Class-0.34.tar.gz


More information about the scm-commits mailing list