From 01c7580a93f6fcf0dff269570adf9ce3c97f253b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org>
Date: Tue, 23 May 2017 09:25:14 +0200
Subject: Eliminate inc. BR: perl(inc::Module::Install) (RHBZ#1454594).
 Modernize spec.

---
 perl-File-Flat.spec | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/perl-File-Flat.spec b/perl-File-Flat.spec
index 4dad8b6..9a4d71c 100644
--- a/perl-File-Flat.spec
+++ b/perl-File-Flat.spec
@@ -1,15 +1,17 @@
 Name:          perl-File-Flat
 Version:       1.04
-Release:       23%{?dist}
+Release:       24%{?dist}
 Summary:       Implements a flat filesystem
 License:       GPL+ or Artistic
-Group:                 Development/Libraries
 URL:           http://search.cpan.org/dist/File-Flat/
 Source0:       
http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-Flat-%{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::AutoInstall) >= 0.49
 BuildRequires: perl(Test::More) >= 0.47
@@ -38,15 +40,15 @@ normal filesystem which makes it appear as if directories 
do not exist.
 
 %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 README
@@ -55,6 +57,10 @@ make test AUTOMATED_TESTING=1
 %{_mandir}/man3/*
 
 %changelog
+* Tue May 23 2017 Ralf Corsépius <corse...@fedoraproject.org> - 1.04-24
+- Eliminate inc. BR: perl(inc::Module::Install) (RHBZ#1454594).
+- Modernize spec.
+
 * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 
1.04-23
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
 
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-File-Flat.git/commit/?h=master&id=01c7580a93f6fcf0dff269570adf9ce3c97f253b
_______________________________________________
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