From cdf1775f0eb2096a6779aacd651af9ece7558134 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Tue, 19 Apr 2016 16:31:10 +0100 Subject: [PATCH] Fix FTBFS due to missing buildreq perl-devel - Classify buildreqs by usage - Simplify find commands using -empty and -delete --- perl-Unicode-Map.spec | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/perl-Unicode-Map.spec b/perl-Unicode-Map.spec index 0343936..9ccde28 100644 --- a/perl-Unicode-Map.spec +++ b/perl-Unicode-Map.spec @@ -1,20 +1,31 @@ Name: perl-Unicode-Map Version: 0.112 -Release: 36%{?dist} +Release: 37%{?dist} Summary: Perl module for mapping charsets from and to utf16 unicode License: GPL+ or Artistic URL: http://search.cpan.org/dist/Unicode-Map/ Source0: http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/Unicode-Map-0.112.tar.gz +# Module Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: gcc +BuildRequires: make BuildRequires: perl +BuildRequires: perl-devel +BuildRequires: perl(ExtUtils::MakeMaker) +# Module Runtime BuildRequires: perl(Carp) BuildRequires: perl(DynaLoader) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +# Script Runtime BuildRequires: perl(Getopt::Long) BuildRequires: perl(Getopt::Std) BuildRequires: perl(HTTP::Status) BuildRequires: perl(LWP::Simple) -BuildRequires: perl(strict) -BuildRequires: perl(vars) +# Test Suite +# (no additional dependencies) +# Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %{?perl_default_filter} @@ -47,8 +58,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 @@ -68,6 +79,10 @@ make test %{_mandir}/man3/Unicode::Map.3* %changelog +* Tue Apr 19 2016 Paul Howarth - 0.112-37 +- Classify buildreqs by usage +- Simplify find commands using -empty and -delete + * Thu Feb 04 2016 Fedora Release Engineering - 0.112-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild