From 34e3794f2b6d206a15661712963d78c58df4f1a4 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Tue, 19 Apr 2016 14:19:37 +0100 Subject: [PATCH] Fix FTBFS due to missing buildreq perl-devel - Classify buildreqs by usage - Simplify find commands using -delete --- perl-String-CRC32.spec | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/perl-String-CRC32.spec b/perl-String-CRC32.spec index a794a33..fa74339 100644 --- a/perl-String-CRC32.spec +++ b/perl-String-CRC32.spec @@ -1,16 +1,26 @@ Name: perl-String-CRC32 Version: 1.5 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Perl interface for cyclic redundancy check generation Group: Development/Libraries License: Public Domain URL: http://search.cpan.org/dist/String-CRC32/ Source0: http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) +# Module Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: gcc +BuildRequires: make +BuildRequires: perl +BuildRequires: perl-devel BuildRequires: perl(ExtUtils::MakeMaker) -# Run-time: +# Module Runtime BuildRequires: perl(DynaLoader) BuildRequires: perl(Exporter) +# Test Suite +# (no additional dependencies) +# Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %{?perl_default_filter} @@ -36,8 +46,8 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' +find %{buildroot} -type f -name .packlist -delete +find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} %{buildroot} %check @@ -50,9 +60,13 @@ rm -rf %{buildroot} %doc README %{perl_vendorarch}/String/ %{perl_vendorarch}/auto/String/ -%{_mandir}/man3/String::CRC32.3pm* +%{_mandir}/man3/String::CRC32.3* %changelog +* Tue Apr 19 2016 Paul Howarth - 1.5-8 +- Classify buildreqs by usage +- Simplify find commands using -delete + * Thu Feb 04 2016 Fedora Release Engineering - 1.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild