From 5312e90313ee380face10f16f8470decbe6d8181 Mon Sep 17 00:00:00 2001
From: Paul Howarth <[email protected]>
Date: Tue, 19 Apr 2016 10:24:32 +0100
Subject: Fix FTBFS due to missing buildreq perl-devel

- Fix FTBFS due to missing buildreq perl-devel
- Simplify find commands using -empty and -delete
---
 perl-Event.spec | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/perl-Event.spec b/perl-Event.spec
index 3ab2957..109d3eb 100644
--- a/perl-Event.spec
+++ b/perl-Event.spec
@@ -1,13 +1,17 @@
 Name:          perl-Event
 Version:       1.24
-Release:       4%{?dist}
+Release:       5%{?dist}
 Summary:       Event loop processing
 Group:         Development/Libraries
 License:       GPL+ or Artistic
 URL:           http://search.cpan.org/dist/Event/
 Source0:       
http://search.cpan.org/CPAN/authors/id/E/ET/ETJ/Event-%{version}.tar.gz
 # Module Build
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
 BuildRequires: perl
+BuildRequires: perl-devel
 BuildRequires: perl(ExtUtils::MakeMaker)
 # Module Runtime
 BuildRequires: perl(base)
@@ -47,8 +51,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' -a -size 0 -exec rm -f {} ';'
+find %{buildroot} -type f -name .packlist -delete
+find %{buildroot} -type f -name '*.bs' -a -empty -delete
 %{_fixperms} %{buildroot}
 
 %check
@@ -66,6 +70,10 @@ make test
 %{_mandir}/man3/Event::generic.3*
 
 %changelog
+* Tue Apr 19 2016 Paul Howarth <[email protected]> - 1.24-5
+- Fix FTBFS due to missing buildreq perl-devel
+- Simplify find commands using -empty and -delete
+
 * Thu Feb 04 2016 Fedora Release Engineering <[email protected]> - 
1.24-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Event.git/commit/?h=perl-Event-1.24-5.fc25&id=5312e90313ee380face10f16f8470decbe6d8181
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
http://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to