From a045319dc263a56e01c8a99260aa29c56ec99fd5 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Wed, 20 Apr 2016 16:27:33 +0100 Subject: [PATCH] Fix FTBFS due to missing buildreq perl-devel Also, simplify find commands using -empty and -delete --- perl-PerlIO-utf8_strict.spec | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/perl-PerlIO-utf8_strict.spec b/perl-PerlIO-utf8_strict.spec index 38e1643..77636a2 100644 --- a/perl-PerlIO-utf8_strict.spec +++ b/perl-PerlIO-utf8_strict.spec @@ -1,13 +1,18 @@ Name: perl-PerlIO-utf8_strict Version: 0.006 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Fast and correct UTF-8 I/O License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/PerlIO-utf8_strict/ Source0: http://www.cpan.org/authors/id/L/LE/LEONT/PerlIO-utf8_strict-%{version}.tar.gz # Build: +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: gcc +BuildRequires: make BuildRequires: perl +BuildRequires: perl-devel BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) BuildRequires: perl(warnings) @@ -38,8 +43,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 @@ -53,6 +58,10 @@ make test %{_mandir}/man3/PerlIO::utf8_strict.3* %changelog +* Wed Apr 20 2016 Paul Howarth - 0.006-5 +- Fix FTBFS due to missing buildreq perl-devel +- Simplify find commands using -empty and -delete + * Thu Feb 04 2016 Fedora Release Engineering - 0.006-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild