From b751bef2cbac6832b4a635402880d153f0b5174d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 30 2019 17:46:27 +0000 Subject: import perl-File-CheckTree-4.42-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eeee8b9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/File-CheckTree-4.42.tar.gz diff --git a/.perl-File-CheckTree.metadata b/.perl-File-CheckTree.metadata new file mode 100644 index 0000000..a5710d9 --- /dev/null +++ b/.perl-File-CheckTree.metadata @@ -0,0 +1 @@ +ca6fb8ec6f158798d9456eefe8312cd6b56850d5 SOURCES/File-CheckTree-4.42.tar.gz diff --git a/SPECS/perl-File-CheckTree.spec b/SPECS/perl-File-CheckTree.spec new file mode 100644 index 0000000..2abc072 --- /dev/null +++ b/SPECS/perl-File-CheckTree.spec @@ -0,0 +1,69 @@ +Name: perl-File-CheckTree +Version: 4.42 +Release: 3%{?dist} +Summary: Run many file-test checks on a tree +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/File-CheckTree/ +Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/File-CheckTree-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Cwd) +%if 0%(perl -e 'print $] > 5.017') +BuildRequires: perl(deprecate) +%endif +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Spec) +BuildRequires: perl(if) +# Tests: +BuildRequires: perl(overload) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +%if 0%(perl -e 'print $] > 5.017') +Requires: perl(deprecate) +%endif + +%description +File::CheckTree::validate() routine takes a single multi-line string +consisting of directives, each containing a file name plus a file test to try +on it. (The file test may also be a "cd", causing subsequent relative file +names to be interpreted relative to that directory.) After the file test you +may put || die to make it a fatal error if the file test fails. The default is +|| warn. The file test may optionally have a "!' prepended to test for the +opposite condition. If you do a cd and then list some relative file names, you +may want to indent them slightly for readability. If you supply your own die() +or warn() message, you can use $file to interpolate the file name. + +%prep +%setup -q -n File-CheckTree-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Dec 27 2013 Daniel Mach - 4.42-3 +- Mass rebuild 2013-12-27 + +* Tue May 28 2013 Petr Pisar - 4.42-2 +- Correct typo in dependencies + +* Fri Feb 08 2013 Petr Pisar 4.42-1 +- Specfile autogenerated by cpanspec 1.78.