|
|
28f2c9 |
Name: perl-File-CheckTree
|
|
|
28f2c9 |
Version: 4.42
|
|
|
28f2c9 |
Release: 303%{?dist}
|
|
|
28f2c9 |
Summary: Run many file-test checks on a tree
|
|
|
28f2c9 |
License: GPL+ or Artistic
|
|
|
28f2c9 |
URL: https://metacpan.org/release/File-CheckTree
|
|
|
28f2c9 |
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/File-CheckTree-%{version}.tar.gz
|
|
|
28f2c9 |
BuildArch: noarch
|
|
|
28f2c9 |
BuildRequires: make
|
|
|
28f2c9 |
BuildRequires: perl-generators
|
|
|
28f2c9 |
BuildRequires: perl-interpreter
|
|
|
28f2c9 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
28f2c9 |
BuildRequires: perl(strict)
|
|
|
28f2c9 |
BuildRequires: perl(warnings)
|
|
|
28f2c9 |
# Run-time:
|
|
|
28f2c9 |
BuildRequires: perl(Cwd)
|
|
|
28f2c9 |
BuildRequires: perl(deprecate)
|
|
|
28f2c9 |
BuildRequires: perl(Exporter)
|
|
|
28f2c9 |
BuildRequires: perl(File::Spec)
|
|
|
28f2c9 |
BuildRequires: perl(if)
|
|
|
28f2c9 |
# Tests:
|
|
|
28f2c9 |
BuildRequires: perl(overload)
|
|
|
28f2c9 |
BuildRequires: perl(Test::More)
|
|
|
28f2c9 |
# Optional tests:
|
|
|
28f2c9 |
# Test::EOL not used
|
|
|
28f2c9 |
# Test::Pod 1.41 not used
|
|
|
28f2c9 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
28f2c9 |
Requires: perl(deprecate)
|
|
|
28f2c9 |
|
|
|
28f2c9 |
%description
|
|
|
28f2c9 |
File::CheckTree::validate() routine takes a single multi-line string
|
|
|
28f2c9 |
consisting of directives, each containing a file name plus a file test to try
|
|
|
28f2c9 |
on it. (The file test may also be a "cd", causing subsequent relative file
|
|
|
28f2c9 |
names to be interpreted relative to that directory.) After the file test you
|
|
|
28f2c9 |
may put || die to make it a fatal error if the file test fails. The default is
|
|
|
28f2c9 |
|| warn. The file test may optionally have a "!' prepended to test for the
|
|
|
28f2c9 |
opposite condition. If you do a cd and then list some relative file names, you
|
|
|
28f2c9 |
may want to indent them slightly for readability. If you supply your own die()
|
|
|
28f2c9 |
or warn() message, you can use $file to interpolate the file name.
|
|
|
28f2c9 |
|
|
|
28f2c9 |
%prep
|
|
|
28f2c9 |
%setup -q -n File-CheckTree-%{version}
|
|
|
28f2c9 |
|
|
|
28f2c9 |
%build
|
|
|
28f2c9 |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
28f2c9 |
make %{?_smp_mflags}
|
|
|
28f2c9 |
|
|
|
28f2c9 |
%install
|
|
|
28f2c9 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
28f2c9 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
28f2c9 |
|
|
|
28f2c9 |
%check
|
|
|
28f2c9 |
unset RELEASE_TESTING
|
|
|
28f2c9 |
make test
|
|
|
28f2c9 |
|
|
|
28f2c9 |
%files
|
|
|
28f2c9 |
%license LICENSE
|
|
|
28f2c9 |
%doc Changes README
|
|
|
28f2c9 |
%{perl_vendorlib}/*
|
|
|
28f2c9 |
%{_mandir}/man3/*
|
|
|
28f2c9 |
|
|
|
28f2c9 |
%changelog
|
|
|
28f2c9 |
* Fri Jul 13 2018 Petr Pisar <ppisar@redhat.com> - 4.42-303
|
|
|
28f2c9 |
- Modernize the spec file
|
|
|
28f2c9 |
|
|
|
28f2c9 |
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4.42-302
|
|
|
28f2c9 |
- Perl 5.28 rebuild
|
|
|
28f2c9 |
|
|
|
28f2c9 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.42-301
|
|
|
28f2c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
28f2c9 |
|
|
|
28f2c9 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.42-300
|
|
|
28f2c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
28f2c9 |
|
|
|
28f2c9 |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 4.42-299
|
|
|
28f2c9 |
- Perl 5.26 rebuild
|
|
|
28f2c9 |
|
|
|
28f2c9 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.42-298
|
|
|
28f2c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
28f2c9 |
|
|
|
28f2c9 |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.42-297
|
|
|
28f2c9 |
- Perl 5.24 rebuild
|
|
|
28f2c9 |
|
|
|
28f2c9 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.42-296
|
|
|
28f2c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
28f2c9 |
|
|
|
28f2c9 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.42-295
|
|
|
28f2c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
28f2c9 |
|
|
|
28f2c9 |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 4.42-294
|
|
|
28f2c9 |
- Perl 5.22 rebuild
|
|
|
28f2c9 |
|
|
|
28f2c9 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 4.42-293
|
|
|
28f2c9 |
- Perl 5.20 rebuild
|
|
|
28f2c9 |
|
|
|
28f2c9 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.42-292
|
|
|
28f2c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
28f2c9 |
|
|
|
28f2c9 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.42-291
|
|
|
28f2c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
28f2c9 |
|
|
|
28f2c9 |
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 4.42-290
|
|
|
28f2c9 |
- Increase release to favour standalone package
|
|
|
28f2c9 |
|
|
|
28f2c9 |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 4.42-3
|
|
|
28f2c9 |
- Perl 5.18 rebuild
|
|
|
28f2c9 |
|
|
|
28f2c9 |
* Tue May 28 2013 Petr Pisar <ppisar@redhat.com> - 4.42-2
|
|
|
28f2c9 |
- Correct typo in dependencies
|
|
|
28f2c9 |
|
|
|
28f2c9 |
* Fri Feb 08 2013 Petr Pisar <ppisar@redhat.com> 4.42-1
|
|
|
28f2c9 |
- Specfile autogenerated by cpanspec 1.78.
|