initial import

This commit is contained in:
Chris Weyl 2010-04-05 04:38:09 +00:00
parent ed0986a36d
commit ba501a31d6
4 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1 @@
Test-Requires-0.03.tar.gz

1
import.log Normal file
View File

@ -0,0 +1 @@
perl-Test-Requires-0_03-1_fc12:F-12:perl-Test-Requires-0.03-1.fc12.src.rpm:1270442284

60
perl-Test-Requires.spec Normal file
View File

@ -0,0 +1,60 @@
Name: perl-Test-Requires
Summary: Checks to see if a given module can be loaded
Version: 0.03
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-%{version}.tar.gz
URL: http://search.cpan.org/dist/Test-Requires
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) >= 6.42
BuildRequires: perl(Filter::Util::Call)
BuildRequires: perl(Test::More)
Requires: perl(Test::Builder::Module)
%{?perl_default_filter}
%{?perl_default_subpackage_tests}
%description
Test::Requires checks to see if the module can be loaded; if this fails
rather than failing tests this *skips all tests*.
%prep
%setup -q -n Test-Requires-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/*
%check
# note the "skipped" warnings indicate success :)
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Sat Mar 20 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.03-1
- specfile by Fedora::App::MaintainerTools 0.006

View File

@ -0,0 +1 @@
b260108348f27fb1409d45ea2086966e Test-Requires-0.03.tar.gz