From 72fc78be00c497ecba3d125110504e500b9951e8 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Thu, 21 Apr 2016 10:33:11 +0100
Subject: Fix FTBFS due to missing buildreq perl-devel

Also, simplify find commands using -empty and -delete
---
 perl-indirect.spec | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/perl-indirect.spec b/perl-indirect.spec
index 9c4bd01..271e8be 100644
--- a/perl-indirect.spec
+++ b/perl-indirect.spec
@@ -1,6 +1,6 @@
 Name:           perl-indirect
 Version:        0.36
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Lexically warn about using the indirect object syntax
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -12,6 +12,7 @@ BuildRequires:  findutils
 BuildRequires:  gcc
 BuildRequires:  make
 BuildRequires:  perl
+BuildRequires:  perl-devel
 BuildRequires:  perl(Config)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 # Module Runtime
@@ -58,8 +59,8 @@ make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find %{buildroot} -type f -name .packlist -delete
+find %{buildroot} -type f -name '*.bs' -empty -delete
 %{_fixperms} %{buildroot}
 
 %check
@@ -72,6 +73,10 @@ make test
 %{_mandir}/man3/indirect.3*
 
 %changelog
+* Thu Apr 21 2016 Paul Howarth <p...@city-fan.org> - 0.36-3
+- Fix FTBFS due to missing buildreq perl-devel
+- Simplify find commands using -empty and -delete
+
 * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 
0.36-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-indirect.git/commit/?h=perl-indirect-0.36-3.fc25&id=72fc78be00c497ecba3d125110504e500b9951e8
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to