From 0b21df7fe3bd2c7cfdf78e2ab76eb205fcaa52f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org>
Date: Tue, 14 Feb 2017 03:59:23 +0100
Subject: Add further optional part of testsuites: BR: perl(Validation::Class),
   perl(Validation::Class::Simple).

---
 perl-Type-Tiny.spec | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/perl-Type-Tiny.spec b/perl-Type-Tiny.spec
index d8bf1d8..02968cf 100644
--- a/perl-Type-Tiny.spec
+++ b/perl-Type-Tiny.spec
@@ -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 <corse...@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 <corse...@fedoraproject.org> - 1.000006-4
 - Add further optional part of testsuite: BR: perl(Return::Type).
 
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Type-Tiny.git/commit/?h=master&id=0b21df7fe3bd2c7cfdf78e2ab76eb205fcaa52f4
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to