!1 Package init

Merge pull request !1 from 雷炬/master
This commit is contained in:
openeuler-ci-bot 2020-06-23 12:07:48 +08:00 committed by Gitee
commit ed96967149
3 changed files with 59 additions and 0 deletions

BIN
File-CheckTree-4.42.tar.gz Normal file

Binary file not shown.

55
perl-File-CheckTree.spec Normal file
View File

@ -0,0 +1,55 @@
Name: perl-File-CheckTree
Version: 4.42
Release: 304
Summary: On a tree to run many file-test checks
License: GPL+ or Artistic
URL: https://metacpan.org/release/File-CheckTree
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/File-CheckTree-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict) perl(warnings) perl(Cwd) perl(deprecate) perl(Exporter)
BuildRequires: perl(File::Spec) perl(if) perl(overload) perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(deprecate)
%description
The package is to run many file-test checks on a tree.
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. After the file test you may put ||
die to make it a fatal error if the file test fails. The default is || warn.
%package help
Summary: Help documents for perl File-CheckTree
%description help
Help documents for perl File-CheckTree.
%prep
%autosetup -n File-CheckTree-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
unset RELEASE_TESTING
make test
%files
%doc LICENSE
%{perl_vendorlib}/*
%files help
%doc LICENSE
%doc Changes README
%{_mandir}/man3/*
%changelog
* Thu Apr 23 2020 leiju <leiju4@huawei.com> - 4.42-304
- Package init

4
perl-File-CheckTree.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: metacpan
src_repo: File-CheckTree
tag_prefix: ^
seperator: .