Update to 0.3.0
- New upstream release 0.3.0 - Converted the build system to Dist-Zilla - Switch to ExtUtils::MakeMaker-based flow
This commit is contained in:
parent
0163f8376f
commit
1e3aeb3383
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/File-Find-Object-v0.2.7.tar.gz
|
||||
/File-Find-Object-v0.2.11.tar.gz
|
||||
/File-Find-Object-v0.2.13.tar.gz
|
||||
/File-Find-Object-0.3.0.tar.gz
|
||||
|
@ -1,18 +1,18 @@
|
||||
Name: perl-File-Find-Object
|
||||
Version: 0.2.13
|
||||
Release: 5%{?dist}
|
||||
Version: 0.3.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Object oriented File::Find replacement
|
||||
License: GPLv2+ or Artistic 2.0
|
||||
URL: http://search.cpan.org/dist/File-Find-Object/
|
||||
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/File-Find-Object-v%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/File-Find-Object-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
# Module Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Module Runtime
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Class::XSAccessor)
|
||||
@ -24,18 +24,13 @@ BuildRequires: perl(parent)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Test Suite
|
||||
BuildRequires: perl(blib)
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(IO::Handle)
|
||||
BuildRequires: perl(IPC::Open3)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Test::More)
|
||||
# Optional Tests
|
||||
BuildRequires: perl(Test::CPAN::Changes)
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
%if !%{defined %perl_bootstrap}
|
||||
# Break build-time dependency cycle: perl-File-Find-Object
|
||||
# → perl-Test-TrailingSpace → perl-File-Find-Object-Rule
|
||||
# → perl-File-Find-Object
|
||||
BuildRequires: perl(Test::TrailingSpace)
|
||||
%endif
|
||||
# Dependencies
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
@ -47,23 +42,24 @@ File::Find is its file processing: after starting its main loop, one cannot
|
||||
easily wait for another event and so get the next result.
|
||||
|
||||
%prep
|
||||
%setup -qn File-Find-Object-v%{version}
|
||||
%setup -qn File-Find-Object-%{version}
|
||||
chmod -c 644 examples/tree
|
||||
|
||||
%build
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc Changes README examples/ rejects/ scripts/
|
||||
%doc Changes README examples/
|
||||
%{perl_vendorlib}/File/
|
||||
%{_mandir}/man3/File::Find::Object.3*
|
||||
%{_mandir}/man3/File::Find::Object::Base.3*
|
||||
@ -71,6 +67,11 @@ perl Build.PL --installdirs=vendor
|
||||
%{_mandir}/man3/File::Find::Object::Result.3*
|
||||
|
||||
%changelog
|
||||
* Mon Sep 12 2016 Paul Howarth <paul@city-fan.org> - 0.3.0-1
|
||||
- Update to 0.3.0
|
||||
- Converted the build system to Dist-Zilla
|
||||
- Switch to ExtUtils::MakeMaker-based flow
|
||||
|
||||
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.2.13-5
|
||||
- Perl 5.24 re-rebuild of bootstrapped packages
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user