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/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Test-Simple.spec b/SPECS/perl-Test-Simple.spec new file mode 100644 index 0000000..8030659 --- /dev/null +++ b/SPECS/perl-Test-Simple.spec @@ -0,0 +1,125 @@ +Name: perl-Test-Simple +Summary: Basic utilities for writing tests +Version: 0.98 +Release: 242%{?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 +* 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