From 8acfc313bfea4ceced5f625c30812b33a34ef7ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org>
Date: Thu, 18 May 2017 17:13:21 +0200
Subject: Eliminate inc. BR: perl(inc::Module::Install) (RHBZ#1452113).
 Modernize spec.

---
 perl-Pod-Tests.spec | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/perl-Pod-Tests.spec b/perl-Pod-Tests.spec
index 8d29533..9f0a4ce 100644
--- a/perl-Pod-Tests.spec
+++ b/perl-Pod-Tests.spec
@@ -1,15 +1,17 @@
 Name:          perl-Pod-Tests
 Version:       1.19
-Release:       23%{?dist}
+Release:       24%{?dist}
 Summary:       Extract embedded tests and code examples from POD
 License:       GPL+ or Artistic
-Group:                 Development/Libraries
 URL:           http://search.cpan.org/dist/Pod-Tests/
 Source0:       
http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Pod-Tests-%{version}.tar.gz
 
 Requires:      perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 BuildArch:     noarch
 
+BuildRequires:  %{__perl}
+BuildRequires:  %{__make}
+
 BuildRequires: perl-generators
 BuildRequires: perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(File::Spec)
@@ -25,6 +27,8 @@ BuildRequires:        perl(Test::Pod) >= 1.26
 BuildRequires:  perl(Test::MinimumVersion) >= 0.008
 BuildRequires:  perl(Pod::Simple) >= 3.07
 
+BuildRequires:  perl(inc::Module::Install)
+
 %description
 Pod::Tests extracts embedded tests and code examples from POD.
 pod2test convert embedded tests and code examples to .t files. 
@@ -34,14 +38,14 @@ pod2test convert embedded tests and code examples to .t 
files.
 
 %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 AUTOMATED_TESTING=1
+%{__make} test AUTOMATED_TESTING=1
 
 %files
 %doc Changes
@@ -52,6 +56,10 @@ make test AUTOMATED_TESTING=1
 %{_mandir}/man3/*
 
 %changelog
+* Thu May 18 2017 Ralf Corsépius <corse...@fedoraproject.org> - 1.19-24
+- Eliminate inc. BR: perl(inc::Module::Install) (RHBZ#1452113).
+- Modernize spec.
+
 * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 
1.19-23
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
 
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Pod-Tests.git/commit/?h=master&id=8acfc313bfea4ceced5f625c30812b33a34ef7ef
_______________________________________________
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