diff --git a/.cvsignore b/.cvsignore index e69de29..fcb169a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Test-Strict-0.09.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..afd3927 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Test-Strict-0_09-1_fc9:HEAD:perl-Test-Strict-0.09-1.fc9.src.rpm:1227639696 diff --git a/perl-Test-Strict.spec b/perl-Test-Strict.spec new file mode 100644 index 0000000..b5f5338 --- /dev/null +++ b/perl-Test-Strict.spec @@ -0,0 +1,64 @@ +Name: perl-Test-Strict +Version: 0.09 +Release: 1%{?dist} +# see lib/Test/Strict.pm +License: GPL+ or Artistic +Group: Development/Libraries +Summary: Check syntax, presence of use strict/warnings, and test coverage +Source: http://search.cpan.org/CPAN/authors/id/P/PD/PDENIS/Test-Strict-%{version}.tar.gz +Url: http://search.cpan.org/dist/Test-Strict +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildArch: noarch + +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Devel::Cover) >= 0.43 +BuildRequires: perl(File::Find) >= 0.01 +BuildRequires: perl(File::Spec) >= 0.01 +BuildRequires: perl(File::Temp) >= 0.01 +BuildRequires: perl(FindBin) >= 0.01 +BuildRequires: perl(Test::Builder) >= 0.01 +BuildRequires: perl(Test::Simple) >= 0.47 +BuildRequires: perl(Test::More) + +%description +"Test::Strict" lets you check the syntax, presence of "use strict;" and +"use warnings;" in your perl code. It reports its results in standard +"Test::Simple" fashion. + +%prep +%setup -q -n Test-Strict-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' + +%{_fixperms} %{buildroot}/* + +%check +make test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc README Changes +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + +%changelog +* Tue Nov 18 2008 Chris Weyl 0.09-1 +- update for submission + +* Wed Nov 12 2008 Chris Weyl 0.09-0.1 +- initial RPM packaging +- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5) + diff --git a/sources b/sources index e69de29..d623165 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +34837b2bfabf73f7169bbfa4d00a403c Test-Strict-0.09.tar.gz