|
|
69cfed8 |
%if ! (0%{?rhel})
|
|
|
3f14045 |
%{bcond_without perl_File_Find_Object_Rule_enables_optional_test}
|
|
|
69cfed8 |
%else
|
|
|
69cfed8 |
%{bcond_with perl_File_Find_Object_Rule_enables_optional_test}
|
|
|
69cfed8 |
%endif
|
|
|
3f14045 |
|
|
Christopher Meng |
b4e6a59 |
Name: perl-File-Find-Object-Rule
|
|
|
6073071 |
Version: 0.0313
|
|
|
6ac4ab5 |
Release: 2%{?dist}
|
|
Christopher Meng |
b4e6a59 |
Summary: Alternative interface to File::Find::Object
|
|
Christopher Meng |
b4e6a59 |
License: GPL+ or Artistic
|
|
|
7d0554d |
URL: https://metacpan.org/release/File-Find-Object-Rule
|
|
|
f4cde45 |
Source0: https://cpan.metacpan.org/modules/by-module/File/File-Find-Object-Rule-%{version}.tar.gz
|
|
|
f4cde45 |
Patch0: File-Find-Object-Rule-0.0310-shellbang.patch
|
|
Christopher Meng |
b4e6a59 |
BuildArch: noarch
|
|
|
5762f2d |
# Module Build
|
|
|
5762f2d |
BuildRequires: coreutils
|
|
|
3dd5d6a |
BuildRequires: perl-generators
|
|
|
7d0554d |
BuildRequires: perl-interpreter
|
|
|
7d0554d |
BuildRequires: perl(Module::Build) >= 0.28
|
|
|
5762f2d |
# Module Runtime
|
|
Christopher Meng |
b4e6a59 |
BuildRequires: perl(Carp)
|
|
Christopher Meng |
b4e6a59 |
BuildRequires: perl(Class::XSAccessor)
|
|
Christopher Meng |
b4e6a59 |
BuildRequires: perl(Cwd)
|
|
|
5762f2d |
BuildRequires: perl(File::Basename)
|
|
Christopher Meng |
b4e6a59 |
BuildRequires: perl(File::Find::Object)
|
|
Christopher Meng |
b4e6a59 |
BuildRequires: perl(File::Spec)
|
|
Christopher Meng |
b4e6a59 |
BuildRequires: perl(Number::Compare)
|
|
|
5762f2d |
BuildRequires: perl(strict)
|
|
Christopher Meng |
b4e6a59 |
BuildRequires: perl(Text::Glob)
|
|
|
5762f2d |
BuildRequires: perl(vars)
|
|
|
5762f2d |
BuildRequires: perl(warnings)
|
|
|
5762f2d |
# Script Runtime
|
|
|
5762f2d |
BuildRequires: perl(File::Spec::Functions)
|
|
|
5762f2d |
# Test Suite
|
|
|
7d0554d |
BuildRequires: perl(base)
|
|
|
fcb75c2 |
BuildRequires: perl(blib)
|
|
|
5762f2d |
BuildRequires: perl(File::Path)
|
|
|
6073071 |
BuildRequires: perl(File::TreeCreate)
|
|
|
7d0554d |
BuildRequires: perl(IO::Handle)
|
|
|
7d0554d |
BuildRequires: perl(IPC::Open3)
|
|
|
7d0554d |
BuildRequires: perl(lib)
|
|
|
5762f2d |
BuildRequires: perl(Test::More)
|
|
|
5762f2d |
# Dependencies
|
|
|
5762f2d |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
Christopher Meng |
b4e6a59 |
|
|
Christopher Meng |
b4e6a59 |
%description
|
|
Christopher Meng |
b4e6a59 |
File::Find::Object::Rule is a friendlier interface to File::Find::Object. It
|
|
|
5762f2d |
allows you to build rules that specify the desired files and directories.
|
|
Christopher Meng |
b4e6a59 |
|
|
Christopher Meng |
b4e6a59 |
%prep
|
|
|
5762f2d |
%setup -qn File-Find-Object-Rule-%{version}
|
|
Christopher Meng |
b4e6a59 |
|
|
|
f4cde45 |
# Avoid use of /usr/bin/env
|
|
|
f4cde45 |
%patch0
|
|
|
f4cde45 |
|
|
Christopher Meng |
b4e6a59 |
%build
|
|
|
5762f2d |
perl Build.PL --installdirs=vendor
|
|
Christopher Meng |
b4e6a59 |
./Build
|
|
Christopher Meng |
b4e6a59 |
|
|
Christopher Meng |
b4e6a59 |
%install
|
|
|
5762f2d |
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
|
7d0554d |
%{_fixperms} -c %{buildroot}
|
|
Christopher Meng |
b4e6a59 |
|
|
Christopher Meng |
b4e6a59 |
%check
|
|
|
f4cde45 |
./Build test
|
|
Christopher Meng |
b4e6a59 |
|
|
Christopher Meng |
b4e6a59 |
%files
|
|
|
5762f2d |
%license LICENSE
|
|
|
7d0554d |
%doc Changes Changes.F-F-R README
|
|
Christopher Meng |
b4e6a59 |
%{_bindir}/findorule
|
|
|
5762f2d |
%{perl_vendorlib}/File/
|
|
Christopher Meng |
b4e6a59 |
%{_mandir}/man1/findorule.1*
|
|
|
5762f2d |
%{_mandir}/man3/File::Find::Object::Rule.3*
|
|
|
5762f2d |
%{_mandir}/man3/File::Find::Object::Rule::Extending.3*
|
|
|
5762f2d |
%{_mandir}/man3/File::Find::Object::Rule::Procedural.3*
|
|
Christopher Meng |
b4e6a59 |
|
|
Christopher Meng |
b4e6a59 |
%changelog
|
|
|
6ac4ab5 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0313-2
|
|
|
6ac4ab5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
6ac4ab5 |
|
|
|
6073071 |
* Fri Aug 27 2021 Paul Howarth <paul@city-fan.org> - 0.0313-1
|
|
|
6073071 |
- Update to 0.0313
|
|
|
6073071 |
- Split File::TreeCreate off to its own distribution
|
|
|
6073071 |
|
|
|
a33b8e8 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0312-7
|
|
|
a33b8e8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
a33b8e8 |
|
|
|
0d354f5 |
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.0312-6
|
|
|
0d354f5 |
- Perl 5.34 rebuild
|
|
|
0d354f5 |
|
|
|
89ef2fa |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0312-5
|
|
|
89ef2fa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
89ef2fa |
|
|
|
0658983 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0312-4
|
|
|
0658983 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
0658983 |
|
|
|
ad30d6f |
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.0312-3
|
|
|
ad30d6f |
- Perl 5.32 rebuild
|
|
|
ad30d6f |
|
|
|
fcb75c2 |
* Tue Mar 10 2020 Paul Howarth <paul@city-fan.org> - 0.0312-2
|
|
|
fcb75c2 |
- BR: perl(blib) for t/00-compile.t and t/findorule.t
|
|
|
fcb75c2 |
|
|
|
d9da150 |
* Tue Jan 28 2020 Paul Howarth <paul@city-fan.org> - 0.0312-1
|
|
|
d9da150 |
- Update to 0.0312
|
|
|
d9da150 |
- Rebuild for order of 'NAME' and 'VERSION' sections in the generated POD
|
|
|
d9da150 |
documentation (VERSION used to appear before NAME)
|
|
|
d9da150 |
|
|
|
f4def06 |
* Mon Aug 26 2019 Paul Howarth <paul@city-fan.org> - 0.0311-1
|
|
|
f4def06 |
- Update to 0.0311
|
|
|
f4def06 |
- Moved the VCS repo to https://github.com/shlomif/perl-file-find-object-rule
|
|
|
f4def06 |
|
|
|
7977662 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0310-3
|
|
|
7977662 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
7977662 |
|
|
|
86a0e64 |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.0310-2
|
|
|
86a0e64 |
- Perl 5.30 rebuild
|
|
|
86a0e64 |
|
|
|
f4cde45 |
* Sat Apr 6 2019 Paul Howarth <paul@city-fan.org> - 0.0310-1
|
|
|
f4cde45 |
- Update to 0.0310
|
|
|
f4cde45 |
- Fully qualified shebang for findorule
|
|
|
f4cde45 |
- Enable tidyall in dist.ini
|
|
|
f4cde45 |
- Add patch to avoid use of /usr/bin/env in findorule
|
|
|
f4cde45 |
- Extra tests moved to xt/ so drop build dependencies for them
|
|
|
f4cde45 |
|
|
|
bdfc0ce |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0309-5
|
|
|
bdfc0ce |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
bdfc0ce |
|
|
|
077c462 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0309-4
|
|
|
077c462 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
077c462 |
|
|
|
c71dab8 |
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.0309-3
|
|
|
c71dab8 |
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
c71dab8 |
|
|
|
c375379 |
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.0309-2
|
|
|
c375379 |
- Perl 5.28 rebuild
|
|
|
c375379 |
|
|
|
a877d78 |
* Wed Jun 20 2018 Paul Howarth <paul@city-fan.org> - 0.0309-1
|
|
|
a877d78 |
- Update to 0.0309
|
|
|
a877d78 |
- Apply spelling fixes patch from Debian (CPAN RT#125635)
|
|
|
a877d78 |
|
|
|
7d0554d |
* Thu May 24 2018 Paul Howarth <paul@city-fan.org> - 0.0307-1
|
|
|
7d0554d |
- Update to 0.0307
|
|
|
7d0554d |
- Convert to Dist-Zilla
|
|
|
7d0554d |
- Switch upstream from search.cpan.org to metacpan.org
|
|
|
7d0554d |
|
|
|
2477261 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0306-6
|
|
|
2477261 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
2477261 |
|
|
|
a168e0c |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0306-5
|
|
|
a168e0c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
a168e0c |
|
|
|
e20b4c0 |
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.0306-4
|
|
|
e20b4c0 |
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
e20b4c0 |
|
|
|
885f56b |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.0306-3
|
|
|
885f56b |
- Perl 5.26 rebuild
|
|
|
885f56b |
|
|
|
da140b5 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0306-2
|
|
|
da140b5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
da140b5 |
|
|
|
f168055 |
* Mon Sep 12 2016 Paul Howarth <paul@city-fan.org> - 0.0306-1
|
|
|
f168055 |
- Update to 0.0306
|
|
|
f168055 |
- Made the trailing space tests RELEASE_TESTING only
|
|
|
f168055 |
|
|
|
da29700 |
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.0305-8
|
|
|
da29700 |
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
da29700 |
|
|
|
991702e |
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.0305-7
|
|
|
991702e |
- Perl 5.24 rebuild
|
|
|
991702e |
|
|
|
5762f2d |
* Mon Feb 29 2016 Paul Howarth <paul@city-fan.org> - 0.0305-6
|
|
|
5762f2d |
- Classify buildreqs by usage
|
|
|
5762f2d |
- Make %%files list more explicit
|
|
|
5762f2d |
- Use %%license
|
|
|
5762f2d |
|
|
|
fc8be32 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0305-5
|
|
|
fc8be32 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
fc8be32 |
|
|
|
253c80d |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0305-4
|
|
|
253c80d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
253c80d |
|
|
|
c9a6bcf |
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.0305-3
|
|
|
c9a6bcf |
- Perl 5.22 rebuild
|
|
|
c9a6bcf |
|
|
|
effd703 |
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.0305-2
|
|
|
effd703 |
- Perl 5.20 rebuild
|
|
|
effd703 |
|
|
|
b4a9083 |
* Sun Jun 08 2014 Christopher Meng <rpm@cicku.me> - 0.0305-1
|
|
|
b4a9083 |
- Update to 0.0305
|
|
|
b4a9083 |
|
|
|
6d6dcac |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0304-2
|
|
|
6d6dcac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
6d6dcac |
|
|
|
66d8b51 |
* Thu Feb 13 2014 Christopher Meng <rpm@cicku.me> - 0.0304-1
|
|
|
b4a9083 |
- Update to 0.0304
|
|
|
66d8b51 |
|
|
|
a2a5cd7 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0303-2
|
|
|
a2a5cd7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
a2a5cd7 |
|
|
Christopher Meng |
b4e6a59 |
* Sun May 26 2013 Christopher Meng <rpm@cicku.me> - 0.0303-1
|
|
Christopher Meng |
b4e6a59 |
- Initial Package.
|