|
|
@ -1,5 +1,5 @@
|
|
|
|
Name: perl-Test-Class
|
|
|
|
Name: perl-Test-Class
|
|
|
|
Version: 0.47
|
|
|
|
Version: 0.48
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Easily create test classes in an xUnit/JUnit style
|
|
|
|
Summary: Easily create test classes in an xUnit/JUnit style
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
@ -18,10 +18,12 @@ BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
|
|
|
BuildRequires: perl(Module::Runtime)
|
|
|
|
BuildRequires: perl(MRO::Compat) >= 0.11
|
|
|
|
BuildRequires: perl(MRO::Compat) >= 0.11
|
|
|
|
BuildRequires: perl(Storable) >= 2.04
|
|
|
|
BuildRequires: perl(Storable) >= 2.04
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(Test::Builder) >= 0.78
|
|
|
|
BuildRequires: perl(Test::Builder) >= 0.78
|
|
|
|
|
|
|
|
BuildRequires: perl(Try::Tiny)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Tests:
|
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(base)
|
|
|
@ -59,12 +61,12 @@ find -type f -exec chmod -c -x {} \;
|
|
|
|
%patch0
|
|
|
|
%patch0
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Build.PL installdirs=vendor
|
|
|
|
perl Build.PL --installdirs=vendor
|
|
|
|
./Build
|
|
|
|
./Build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
|
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
./Build test
|
|
|
@ -72,11 +74,15 @@ perl Build.PL installdirs=vendor
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc Changes README
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorlib}/Test/
|
|
|
|
%{perl_vendorlib}/Test/
|
|
|
|
%{_mandir}/man3/Test::Class.3pm*
|
|
|
|
%{_mandir}/man3/Test::Class.3*
|
|
|
|
%{_mandir}/man3/Test::Class::Load.3pm*
|
|
|
|
%{_mandir}/man3/Test::Class::Load.3*
|
|
|
|
%{_mandir}/man3/Test::Class::MethodInfo.3pm*
|
|
|
|
%{_mandir}/man3/Test::Class::MethodInfo.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Nov 13 2014 Paul Howarth <paul@city-fan.org> - 0.48-1
|
|
|
|
|
|
|
|
- Update to 0.48
|
|
|
|
|
|
|
|
- Replace a few bare evals with more modern alternatives
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 29 2014 Paul Howarth <paul@city-fan.org> - 0.47-1
|
|
|
|
* Mon Sep 29 2014 Paul Howarth <paul@city-fan.org> - 0.47-1
|
|
|
|
- 0.47 bump; test and documentation changes only
|
|
|
|
- 0.47 bump; test and documentation changes only
|
|
|
|
- Drop Module::Build version patch since we need a later Test::More than is in
|
|
|
|
- Drop Module::Build version patch since we need a later Test::More than is in
|
|
|
|