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
|
Name: perl-Path-Class
|
||||||
Version: 0.33
|
Version: 0.34
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Cross-platform path specification manipulation
|
Summary: Cross-platform path specification manipulation
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/Path-Class/
|
URL: http://search.cpan.org/dist/Path-Class/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(Cwd)
|
BuildRequires: perl(Cwd)
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
@ -18,15 +19,19 @@ BuildRequires: perl(File::Temp)
|
|||||||
BuildRequires: perl(IO::Dir)
|
BuildRequires: perl(IO::Dir)
|
||||||
BuildRequires: perl(IO::File)
|
BuildRequires: perl(IO::File)
|
||||||
BuildRequires: perl(Module::Build) > 0.36
|
BuildRequires: perl(Module::Build) > 0.36
|
||||||
|
BuildRequires: perl(overload)
|
||||||
BuildRequires: perl(parent)
|
BuildRequires: perl(parent)
|
||||||
BuildRequires: perl(Perl::OSType)
|
BuildRequires: perl(Perl::OSType)
|
||||||
BuildRequires: perl(Scalar::Util)
|
BuildRequires: perl(Scalar::Util)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(Test)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
%if !%{defined perl_bootstrap}
|
%if !%{defined perl_bootstrap}
|
||||||
# Cycle: perl-Path-Class → perl-Test-Perl-Critic → perl-Perl-Critic →
|
# Cycle: perl-Path-Class → perl-Test-Perl-Critic → perl-Perl-Critic →
|
||||||
# perl-Pod-Spell → perl-File-ShareDir-ProjectDistDir → perl-Path-Class
|
# perl-Pod-Spell → perl-File-ShareDir-ProjectDistDir → perl-Path-Class
|
||||||
BuildRequires: perl(Test::Perl::Critic)
|
BuildRequires: perl(Test::Perl::Critic)
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -40,18 +45,23 @@ and NetWare.
|
|||||||
%setup -q -n Path-Class-%{version}
|
%setup -q -n Path-Class-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Build.PL installdirs=vendor
|
perl Build.PL --installdirs=vendor
|
||||||
./Build
|
./Build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install destdir=%{buildroot} create_packlist=0
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
AUTHOR_TESTING=1 ./Build test
|
AUTHOR_TESTING=1 ./Build test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changes LICENSE README
|
%if 0%{?_licensedir:1}
|
||||||
|
%license LICENSE
|
||||||
|
%else
|
||||||
|
%doc LICENSE
|
||||||
|
%endif
|
||||||
|
%doc Changes README
|
||||||
%{perl_vendorlib}/Path/
|
%{perl_vendorlib}/Path/
|
||||||
%{_mandir}/man3/Path::Class.3pm*
|
%{_mandir}/man3/Path::Class.3pm*
|
||||||
%{_mandir}/man3/Path::Class::Dir.3pm*
|
%{_mandir}/man3/Path::Class::Dir.3pm*
|
||||||
@ -59,6 +69,17 @@ AUTHOR_TESTING=1 ./Build test
|
|||||||
%{_mandir}/man3/Path::Class::File.3pm*
|
%{_mandir}/man3/Path::Class::File.3pm*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.33-4
|
||||||
- Perl 5.20 rebuild
|
- Perl 5.20 rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user