Add further optional part of testsuites: BR: perl(Validation::Class),

perl(Validation::Class::Simple).
epel9
Ralf Corsépius 8 years ago
parent 755d6c7338
commit 0b21df7fe3

@ -1,6 +1,6 @@
Name: perl-Type-Tiny
Version: 1.000006
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Tiny, yet Moo(se)-compatible type constraint
License: GPL+ or Artistic
Group: Development/Libraries
@ -16,7 +16,8 @@ BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: %{__make}
BuildRequires: %{__perl}
BuildRequires: perl >= 0:5.006001
BuildRequires: perl-generators
BuildRequires: perl(B)
@ -99,8 +100,8 @@ BuildRequires: perl(Sub::Quote)
BuildRequires: perl(Test::Warnings)
BuildRequires: perl(Type::Tie)
BuildRequires: perl(Types::Path::Tiny)
# N/A in Fedora: BuildRequires: perl(Validation::Class) >= 7.900017
# N/A in Fedora: BuildRequires: perl(Validation::Class::Simple)
BuildRequires: perl(Validation::Class) >= 7.900017
BuildRequires: perl(Validation::Class::Simple)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(B::Deparse)
@ -125,14 +126,14 @@ sed -i -e '/^inc\//d' MANIFEST
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%{__make} %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%{__make} test
%files
%doc Changes CREDITS NEWS README
@ -148,6 +149,10 @@ make test
%{_mandir}/man3/Test::TypeTiny.3pm*
%changelog
* Mon Feb 13 2017 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.000006-5
- Add further optional part of testsuites: BR: perl(Validation::Class),
perl(Validation::Class::Simple).
* Fri Feb 10 2017 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.000006-4
- Add further optional part of testsuite: BR: perl(Return::Type).

Loading…
Cancel
Save