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

---
 perl-Algorithm-Dependency.spec | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/perl-Algorithm-Dependency.spec b/perl-Algorithm-Dependency.spec
index 2482b0c..92d8bc0 100644
--- a/perl-Algorithm-Dependency.spec
+++ b/perl-Algorithm-Dependency.spec
@@ -1,15 +1,17 @@
 Name:          perl-Algorithm-Dependency
 Version:       1.110
-Release:       23%{?dist}
+Release:       24%{?dist}
 Summary:       Algorithmic framework for implementing dependency trees
 License:       GPL+ or Artistic
-Group:                 Development/Libraries
 URL:           http://search.cpan.org/dist/Algorithm-Dependency/
 Source0:       
http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Algorithm-Dependency-%{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)                >= 0.82
@@ -22,6 +24,8 @@ BuildRequires: perl(Test::CPAN::Meta) >= 0.12
 BuildRequires: perl(Perl::MinimumVersion) >= 1.20
 BuildRequires: perl(Test::MinimumVersion) >= 0.008
 
+BuildRequires: perl(inc::Module::Install)
+
 %description
 Algorithm::Dependency is a framework for creating simple read-only
 dependency hierarchies, where you have a set of items that rely on other
@@ -29,18 +33,19 @@ items in the set, and require actions on them as well.
 
 %prep
 %setup -q -n Algorithm-Dependency-%{version}
+rm -r inc/
 
 %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
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 %check
-make test AUTOMATED_TESTING=1
+%{__make} test AUTOMATED_TESTING=1
 
 %files
 %doc Changes
@@ -49,6 +54,10 @@ make test AUTOMATED_TESTING=1
 %{_mandir}/man3/*
 
 %changelog
+* Thu May 18 2017 Ralf Corsépius <corse...@fedoraproject.org> - 1.110-24
+- Eliminate inc. BR: perl(inc::Module::Install) (RHBZ#1452002).
+- Modernize spec.
+
 * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 
1.110-23
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
 
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Algorithm-Dependency.git/commit/?h=master&id=a840639bfd1cf182d262588803d12045596c707b
_______________________________________________
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