From aa7103a29c1c9803c64294ad3b953f766365c73a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 02 2019 21:14:25 +0000 Subject: import perl-Test-Simple-0.98-243.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6d119f2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Test-Simple-0.98.tar.gz diff --git a/.perl-Test-Simple.metadata b/.perl-Test-Simple.metadata new file mode 100644 index 0000000..f8dc1ca --- /dev/null +++ b/.perl-Test-Simple.metadata @@ -0,0 +1 @@ +792fc70083905bab7fa443dc379ffb1f0998f068 SOURCES/Test-Simple-0.98.tar.gz diff --git a/SPECS/perl-Test-Simple.spec b/SPECS/perl-Test-Simple.spec new file mode 100644 index 0000000..846967c --- /dev/null +++ b/SPECS/perl-Test-Simple.spec @@ -0,0 +1,128 @@ +Name: perl-Test-Simple +Summary: Basic utilities for writing tests +Version: 0.98 +Release: 243%{?dist} +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Test-Simple +Source0: http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/Test-Simple-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Cwd) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IO::Pipe) +BuildRequires: perl(lib) +BuildRequires: perl(Test::Harness) >= 2.03 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Data::Dumper) +Requires: perl(Test::Harness) >= 2.03 + +# Drop old -tests subpackage (can be removed F21 development cycle) +Obsoletes: perl-Test-Simple-tests < %{version}-%{release} +Provides: perl-Test-Simple-tests = %{version}-%{release} + +## testing +#Requires: perl-tests +#Requires: /usr/bin/prove + +%{?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 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +%{_fixperms} %{buildroot} + +%check +make test + +#cd %%{_libexecdir}/perl5-tests/perl-tests/ +#prove -I %%{buildroot}/blib -r t/ + +%files +%doc Changes README examples/ t/ +%dir %{perl_vendorlib}/Test/ +%{perl_vendorlib}/Test/Builder.pm +%{perl_vendorlib}/Test/Builder/ +%{perl_vendorlib}/Test/More.pm +%{perl_vendorlib}/Test/Simple.pm +%doc %{perl_vendorlib}/Test/Tutorial.pod +%{_mandir}/man3/Test::Builder.3pm* +%{_mandir}/man3/Test::Builder::IO::Scalar.3pm* +%{_mandir}/man3/Test::Builder::Module.3pm* +%{_mandir}/man3/Test::Builder::Tester.3pm* +%{_mandir}/man3/Test::Builder::Tester::Color.3pm* +%{_mandir}/man3/Test::More.3pm* +%{_mandir}/man3/Test::Simple.3pm* +%{_mandir}/man3/Test::Tutorial.3pm* + +%changelog +* Fri Dec 27 2013 Daniel Mach - 0.98-243 +- Mass rebuild 2013-12-27 + +* Wed Nov 21 2012 Jitka Plesnikova - 0.98-242 +- Update dependencies and comments + +* Thu Aug 23 2012 Paul Howarth - 0.98-241 +- Merge tests sub-package back into main package +- Don't need to remove empty directories from the buildroot +- Drop %%defattr, redundant since rpm 4.4 +- Make %%files list more explicit +- Don't use macros for commands +- Mark Tutorial.pod as %%doc +- Drop explicit dependency on perl-devel + +* Mon Aug 13 2012 Marcela Mašláňová - 0.98-240 +- Bump release to override sub-package from perl.spec + +* Fri Jul 20 2012 Fedora Release Engineering - 0.98-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jun 06 2012 Petr Pisar - 0.98-6 +- Perl 5.16 rebuild + +* Thu May 31 2012 Petr Pisar - 0.98-5 +- Specify all dependencies + +* Fri Jan 13 2012 Fedora Release Engineering - 0.98-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Aug 16 2011 Marcela Mašláňová - 0.98-3 +- Change path on vendor, so our debuginfo are not conflicting with + perl core debuginfos + +* Fri Jun 17 2011 Marcela Mašláňová - 0.98-2 +- Perl mass rebuild + +* Thu Feb 24 2011 Iain Arnell - 0.98-1 +- Update to latest upstream version + +* Wed Feb 09 2011 Fedora Release Engineering - 0.96-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Nov 20 2010 Iain Arnell - 0.96-1 +- Update to latest upstream version +- Clean up spec for modern rpmbuild + +* Fri May 07 2010 Marcela Maslanova - 0.94-2 +- Mass rebuild with perl-5.12.0 + +* Tue Mar 16 2010 Chris Weyl - 0.94-1 +- Specfile by Fedora::App::MaintainerTools 0.006