|
|
9ffeab5 |
Name: perl-Test-UseAllModules
|
|
|
808a34d |
Version: 0.17
|
|
|
808a34d |
Release: 1%{?dist}
|
|
|
9ffeab5 |
Summary: Do use_ok() for all the MANIFESTed modules
|
|
|
9ffeab5 |
License: GPL+ or Artistic
|
|
|
9ffeab5 |
Group: Development/Libraries
|
|
|
9ffeab5 |
URL: http://search.cpan.org/dist/Test-UseAllModules/
|
|
|
9ffeab5 |
Source0: http://www.cpan.org/authors/id/I/IS/ISHIGAKI/Test-UseAllModules-%{version}.tar.gz
|
|
|
9ffeab5 |
BuildArch: noarch
|
|
|
20d544c |
BuildRequires: perl
|
|
|
808a34d |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
20d544c |
BuildRequires: perl(strict)
|
|
|
20d544c |
BuildRequires: perl(warnings)
|
|
|
20d544c |
# Run-time:
|
|
|
9ffeab5 |
BuildRequires: perl(Exporter)
|
|
|
9ffeab5 |
BuildRequires: perl(ExtUtils::Manifest)
|
|
|
20d544c |
# perl(Test::Builder) needed for lib/Test/UseAllModules.pm:52:
|
|
|
20d544c |
# Test::More->builder->has_plan;
|
|
|
9ffeab5 |
BuildRequires: perl(Test::Builder) >= 0.30
|
|
|
9ffeab5 |
BuildRequires: perl(Test::More) >= 0.60
|
|
|
9ffeab5 |
# Tests only:
|
|
|
9ffeab5 |
BuildRequires: perl(FindBin)
|
|
|
9ffeab5 |
BuildRequires: perl(lib)
|
|
|
808a34d |
# Optional tests:
|
|
|
808a34d |
BuildRequires: perl(Test::Pod) >= 1.18
|
|
|
808a34d |
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
|
9ffeab5 |
Requires: perl(Test::Builder) >= 0.30
|
|
|
9ffeab5 |
Requires: perl(Test::More) >= 0.60
|
|
|
20d544c |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
9ffeab5 |
|
|
|
9ffeab5 |
# Remove underspecifies dependencies
|
|
|
9ffeab5 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Test::More\\)
|
|
|
9ffeab5 |
|
|
|
9ffeab5 |
%description
|
|
|
5a9c193 |
I'm sick of writing 00_load.t (or something like that) that will do use_ok()
|
|
|
9ffeab5 |
for every module I write. I'm sicker of updating 00_load.t when I add
|
|
|
9ffeab5 |
another file to the distribution. This module reads MANIFEST to find modules
|
|
|
9ffeab5 |
to be tested and does use_ok() for each of them. Now all you have to do is
|
|
|
9ffeab5 |
update MANIFEST. You don't have to modify the test any more (hopefully).
|
|
|
9ffeab5 |
|
|
|
9ffeab5 |
%prep
|
|
|
9ffeab5 |
%setup -q -n Test-UseAllModules-%{version}
|
|
|
9ffeab5 |
for F in Changes README; do
|
|
|
9ffeab5 |
tr -d '\r' <"$F" >"$F.unix"
|
|
|
9ffeab5 |
touch -r "$F"{,.unix}
|
|
|
9ffeab5 |
mv "${F}"{.unix,}
|
|
|
9ffeab5 |
done
|
|
|
9ffeab5 |
|
|
|
9ffeab5 |
%build
|
|
|
20d544c |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
9ffeab5 |
make %{?_smp_mflags}
|
|
|
9ffeab5 |
|
|
|
9ffeab5 |
%install
|
|
|
20d544c |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
9ffeab5 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
9ffeab5 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
9ffeab5 |
|
|
|
9ffeab5 |
%check
|
|
|
808a34d |
TEST_POD=1 make test
|
|
|
9ffeab5 |
|
|
|
9ffeab5 |
%files
|
|
|
9ffeab5 |
%doc Changes README
|
|
|
9ffeab5 |
%{perl_vendorlib}/*
|
|
|
9ffeab5 |
%{_mandir}/man3/*
|
|
|
9ffeab5 |
|
|
|
9ffeab5 |
%changelog
|
|
|
808a34d |
* Fri Nov 14 2014 Petr Pisar <ppisar@redhat.com> - 0.17-1
|
|
|
808a34d |
- 0.17 bump
|
|
|
808a34d |
|
|
|
52162ba |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-2
|
|
|
52162ba |
- Perl 5.20 rebuild
|
|
|
52162ba |
|
|
|
20d544c |
* Wed Jul 16 2014 Petr Pisar <ppisar@redhat.com> - 0.15-1
|
|
|
20d544c |
- 0.15 bump
|
|
|
20d544c |
|
|
|
b0bcf52 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-5
|
|
|
b0bcf52 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
b0bcf52 |
|
|
|
9306476 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-4
|
|
|
9306476 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
9306476 |
|
|
|
ee73e95 |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.14-3
|
|
|
ee73e95 |
- Perl 5.18 rebuild
|
|
|
ee73e95 |
|
|
|
ca3d460 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-2
|
|
|
ca3d460 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
ca3d460 |
|
|
|
5a9c193 |
* Fri Aug 03 2012 Petr Pisar <ppisar@redhat.com> - 0.14-1
|
|
|
5a9c193 |
- 0.14 bump
|
|
|
5a9c193 |
|
|
|
ebc1782 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-4
|
|
|
ebc1782 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
ebc1782 |
|
|
|
f8ba93f |
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 0.13-3
|
|
|
f8ba93f |
- Perl 5.16 rebuild
|
|
|
f8ba93f |
|
|
|
ebf2940 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-2
|
|
|
ebf2940 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
ebf2940 |
|
|
|
9ffeab5 |
* Tue Sep 20 2011 Petr Pisar <ppisar@redhat.com> 0.13-1
|
|
|
9ffeab5 |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
9ffeab5 |
- Remove BuildRoot and defattr code
|
|
|
9ffeab5 |
- Recode documentation to UNIX end-of-lines
|