package init
This commit is contained in:
parent
1ecf598c3d
commit
205959fda4
BIN
Test-Inter-1.07.tar.gz
Normal file
BIN
Test-Inter-1.07.tar.gz
Normal file
Binary file not shown.
50
perl-Test-Inter.spec
Normal file
50
perl-Test-Inter.spec
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user