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
This commit is contained in:
parent
1f27ce2005
commit
0eef9bca54
@ -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@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@redhat.com> - 0.33-4
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user