Blame SPECS/perl-File-CheckTree.spec

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