commit 70380e252ba5a07bd449c2b600eb6503ffc82c9a Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:13:23 2019 -0400 Package init diff --git a/Test-Simple-1.302140.tar.gz b/Test-Simple-1.302140.tar.gz new file mode 100644 index 0000000..a29043d Binary files /dev/null and b/Test-Simple-1.302140.tar.gz differ diff --git a/perl-Test-Simple.spec b/perl-Test-Simple.spec new file mode 100644 index 0000000..be61cd5 --- /dev/null +++ b/perl-Test-Simple.spec @@ -0,0 +1,73 @@ +Name: perl-Test-Simple +Summary: Basic utilities for writing tests +Epoch: 2 +Version: 1.302140 +Release: 2 +License: (GPL+ or Artistic) and CC0 and Public Domain +URL: https://metacpan.org/release/Test-Simple +Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Simple-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: coreutils, make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 + +Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2)) +Requires: perl(Data::Dumper) +Requires: perl(Term::ANSIColor) +Requires: perl(threads::shared) + +Obsoletes: perl-Test2 < %{version}-%{release} +Provides: perl-Test2 = %{version}-%{release} + +%{?perl_default_filter} + +%description +This package provides the bulk of the core testing facilities. For more +information, see perldoc for Test::Simple, Test::More, etc. + +This package is the CPAN component of the dual-lifed core package Test-Simple. + +%prep +%setup -q -n Test-Simple-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 +%make_build + +%install +%make_install + +%check +make test AUTHOR_TESTING=1 + +%files +%defattr(-,root,root) +%license LICENSE +%doc Changes README +%dir %{perl_vendorlib}/Test/ +%{perl_vendorlib}/ok.pm +%{perl_vendorlib}/Test/Builder/ +%{perl_vendorlib}/Test/*.pm +%{perl_vendorlib}/Test/Tester/ +%doc %{perl_vendorlib}/Test/Tutorial.pod +%{perl_vendorlib}/Test/use/ +%{perl_vendorlib}/Test2.pm +%{perl_vendorlib}/Test2/ + +%package_help +%files help +%doc examples/ t/ +%{_mandir}/man3/ok.3* +%{_mandir}/man3/Test* + +%changelog +* Mon Sep 23 2019 shenyangyang - 1.302167-2 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:revise requires of perl + +* Thu Aug 29 2019 hexiaowen - 1.302167-1 +- Package init