Christopher Meng 4b33fb4
Name:           perl-File-Find-Object
6d25177
Version:        0.3.6
cdd7dda
Release:        4%{?dist}
Christopher Meng 4b33fb4
Summary:        Object oriented File::Find replacement
6cbb979
License:        GPLv2+ or Artistic 2.0
183c864
URL:            https://metacpan.org/release/File-Find-Object
1ed29b1
Source0:        https://cpan.metacpan.org/modules/by-module/File/File-Find-Object-%{version}.tar.gz
Christopher Meng 4b33fb4
BuildArch:      noarch
4831ffe
# Module Build
6cbb979
BuildRequires:  coreutils
1e3aeb3
BuildRequires:  make
0163f83
BuildRequires:  perl-generators
88c8af4
BuildRequires:  perl-interpreter
88c8af4
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
4831ffe
# Module Runtime
Christopher Meng 4b33fb4
BuildRequires:  perl(Carp)
Christopher Meng 4b33fb4
BuildRequires:  perl(Class::XSAccessor)
6cbb979
BuildRequires:  perl(Fcntl)
4831ffe
BuildRequires:  perl(File::Spec)
6cbb979
BuildRequires:  perl(integer)
Christopher Meng 4b33fb4
BuildRequires:  perl(List::Util)
6cbb979
BuildRequires:  perl(parent)
4831ffe
BuildRequires:  perl(strict)
4831ffe
BuildRequires:  perl(warnings)
4831ffe
# Test Suite
7189151
BuildRequires:  perl(blib)
6cbb979
BuildRequires:  perl(File::Path)
6d25177
BuildRequires:  perl(File::TreeCreate)
1e3aeb3
BuildRequires:  perl(IO::Handle)
1e3aeb3
BuildRequires:  perl(IPC::Open3)
1e3aeb3
BuildRequires:  perl(lib)
1ed29b1
BuildRequires:  perl(Test::More) >= 0.88
4831ffe
# Dependencies
4831ffe
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Christopher Meng 4b33fb4
Christopher Meng 4b33fb4
%description
Christopher Meng 4b33fb4
File::Find::Object does the same job as File::Find but works like an object
Christopher Meng 4b33fb4
and with an iterator. As File::Find is not object oriented, one cannot
Christopher Meng 4b33fb4
perform multiple searches in the same application. The second problem of
Christopher Meng 4b33fb4
File::Find is its file processing: after starting its main loop, one cannot
Christopher Meng 4b33fb4
easily wait for another event and so get the next result.
Christopher Meng 4b33fb4
Christopher Meng 4b33fb4
%prep
1ed29b1
%setup -qn File-Find-Object-%{version}
4831ffe
chmod -c 644 examples/tree
Christopher Meng 4b33fb4
Christopher Meng 4b33fb4
%build
88c8af4
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
88c8af4
%{make_build}
Christopher Meng 4b33fb4
Christopher Meng 4b33fb4
%install
88c8af4
%{make_install}
03bfcf6
%{_fixperms} -c %{buildroot}
Christopher Meng 4b33fb4
Christopher Meng 4b33fb4
%check
1e3aeb3
make test
Christopher Meng 4b33fb4
Christopher Meng 4b33fb4
%files
4831ffe
%license LICENSE
6d25177
%doc Changes examples/ README.md
4831ffe
%{perl_vendorlib}/File/
4831ffe
%{_mandir}/man3/File::Find::Object.3*
4831ffe
%{_mandir}/man3/File::Find::Object::Base.3*
4831ffe
%{_mandir}/man3/File::Find::Object::PathComp.3*
4831ffe
%{_mandir}/man3/File::Find::Object::Result.3*
Christopher Meng 4b33fb4
Christopher Meng 4b33fb4
%changelog
cdd7dda
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-4
cdd7dda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
cdd7dda
587d992
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.3.6-3
587d992
- Perl 5.36 rebuild
587d992
3bb6619
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-2
3bb6619
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
3bb6619
6d25177
* Fri Aug 27 2021 Paul Howarth <paul@city-fan.org> - 0.3.6-1
6d25177
- Update to 0.3.6
6d25177
  - Split File::TreeCreate off to its own distribution
6d25177
424211c
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-7
424211c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
424211c
76a9b22
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.3.5-6
76a9b22
- Perl 5.34 rebuild
76a9b22
b16f9c7
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-5
b16f9c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b16f9c7
f94b83c
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-4
f94b83c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f94b83c
22655d9
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.3.5-3
22655d9
- Perl 5.32 rebuild
22655d9
7189151
* Tue Mar 10 2020 Paul Howarth <paul@city-fan.org> - 0.3.5-2
7189151
- BR: perl(blib) for t/00-compile.t
7189151
88c8af4
* Tue Jan 28 2020 Paul Howarth <paul@city-fan.org> - 0.3.5-1
88c8af4
- Update to 0.3.5
88c8af4
  - Rebuild for order of 'NAME' and 'VERSION' sections in the generated POD
88c8af4
    documentation (VERSION used to appear before NAME)
88c8af4
- Use %%{make_build} and %%{make_install}
88c8af4
1ed29b1
* Mon Aug 26 2019 Paul Howarth <paul@city-fan.org> - 0.3.4-1
1ed29b1
- Update to 0.3.4
1ed29b1
  - Now at https://github.com/shlomif/perl-file-find-object
1ed29b1
  - tidyall
1ed29b1
  - Add *~ files to MANIFEST.SKIP (GH#1)
1ed29b1
c878194
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-10
c878194
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c878194
c673f9f
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.3.2-9
c673f9f
- Perl 5.30 rebuild
c673f9f
5ef8687
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-8
5ef8687
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5ef8687
44ee3c3
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-7
44ee3c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
44ee3c3
592184e
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.3.2-6
592184e
- Perl 5.28 rebuild
592184e
0a14023
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-5
0a14023
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0a14023
69d2c97
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-4
69d2c97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
69d2c97
0cdc25f
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.3.2-3
0cdc25f
- Perl 5.26 rebuild
0cdc25f
352249b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-2
352249b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
352249b
6e8e94e
* Sun Jan 15 2017 Paul Howarth <paul@city-fan.org> - 0.3.2-1
6e8e94e
- Update to 0.3.2
6e8e94e
  - Made the version number consistent across the .pm files
6e8e94e
    (https://bitbucket.org/shlomif/perl-file-find-object/issues/1/wrong-version-number)
6e8e94e
03bfcf6
* Mon Jan  9 2017 Paul Howarth <paul@city-fan.org> - 0.3.1-1
03bfcf6
- Update to 0.3.1
03bfcf6
  - Fixed an issue with tracking the depth of the inodes when detecting a
03bfcf6
    symlink loop
03bfcf6
1e3aeb3
* Mon Sep 12 2016 Paul Howarth <paul@city-fan.org> - 0.3.0-1
1e3aeb3
- Update to 0.3.0
1e3aeb3
  - Converted the build system to Dist-Zilla
1e3aeb3
- Switch to ExtUtils::MakeMaker-based flow
1e3aeb3
7764e1a
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.2.13-5
7764e1a
- Perl 5.24 re-rebuild of bootstrapped packages
7764e1a
3d8f24b
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.2.13-4
3d8f24b
- Perl 5.24 rebuild
3d8f24b
4831ffe
* Mon Feb 29 2016 Paul Howarth <paul@city-fan.org> - 0.2.13-3
4831ffe
- Spec clean-up
4831ffe
0f99d5e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-2
0f99d5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0f99d5e
6cbb979
* Fri Jul 24 2015 Petr Pisar <ppisar@redhat.com> - 0.2.13-1
6cbb979
- 0.2.13 bump
6cbb979
- License changed to (GPLv2+ or Artistic 2.0)
6cbb979
5cb0fff
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-7
5cb0fff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5cb0fff
f0a97eb
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.2.11-6
f0a97eb
- Perl 5.22 re-rebuild of bootstrapped packages
f0a97eb
cca8fea
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.2.11-5
cca8fea
- Perl 5.22 rebuild
cca8fea
8cf07aa
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.2.11-4
8cf07aa
- Perl 5.20 re-rebuild of bootstrapped packages
8cf07aa
9ae0038
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.2.11-3
9ae0038
- Perl 5.20 rebuild
9ae0038
7c6f0b7
* Wed Jul 23 2014 Petr Pisar <ppisar@redhat.com> - 0.2.11-2
7c6f0b7
- Break dependency cycle perl-File-Find-Object → perl-Test-TrailingSpace →
7c6f0b7
  perl-File-Find-Object-Rule
7c6f0b7
91acae0
* Wed Jun 11 2014 Christopher Meng <rpm@cicku.me> - 0.2.11-1
91acae0
- Update to 0.2.11
91acae0
54ea2d3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-5
54ea2d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
54ea2d3
9facc94
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-4
9facc94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9facc94
5fdf5ad
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 0.2.7-3
5fdf5ad
- Perl 5.18 rebuild
5fdf5ad
Christopher Meng 4b33fb4
* Wed Jul 03 2013 Christopher Meng <rpm@cicku.me> - 0.2.7-2
Christopher Meng 4b33fb4
- Fix the license.
Christopher Meng 4b33fb4
- Fix the files permissions.
Christopher Meng 4b33fb4
- Fill up the BRs.
Christopher Meng 4b33fb4
Christopher Meng 4b33fb4
* Sun May 26 2013 Christopher Meng <rpm@cicku.me> - 0.2.7-1
Christopher Meng 4b33fb4
- Initial Package.