!1 package init

Merge pull request !1 from zhangtao2020/zt_1
This commit is contained in:
openeuler-ci-bot 2020-02-28 15:27:12 +08:00 committed by Gitee
commit 0f753426c6
2 changed files with 50 additions and 0 deletions

BIN
Test-Inter-1.07.tar.gz Normal file

Binary file not shown.

50
perl-Test-Inter.spec Normal file
View File

@ -0,0 +1,50 @@
Name: perl-Test-Inter
Version: 1.07
Release: 4
Summary: A framework for writing more readable interactive test scripts
License: GPL+ or Artistic
URL: https://metacpan.org/release/Test-Inter
Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/Test-Inter-1.07.tar.gz
BuildArch: noarch
BuildRequires: coreutils make perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict) perl(warnings) perl(File::Basename) perl(IO::File) perl(Config)
BuildRequires: perl(Cwd) perl(Storable) >= 1.01 perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
It is another framework for writing test scripts. Much of the syntax is loosely inspired by
Test::More. Though implement most funciton, it is not a drop-in replacement for Test::More.
%package help
Summary: Help documents for Perl-Test-Inter
%description help
This package contains help documents for Perl-Test-Inter
%prep
%autosetup -p1 -n Test-Inter-1.07
chmod ugoa-x examples/*
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
%make_build pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
unset RELEASE_TESTING
%make_build test
%files
%doc Changes README examples LICENSE
%{perl_vendorlib}/*
%files help
%{_mandir}/man3/*
%changelog
* Thu Feb 27 2020 Chen Dingxiao <chendingxiao1@huawei.com> - 1.07-4
- Package Init