Fix FTBFS due to missing buildreq perl-devel

- Classify buildreqs by usage
- Simplify find commands using -delete
epel9
Paul Howarth 9 years ago
parent 3ae6f98254
commit 34e3794f2b

@ -1,16 +1,26 @@
Name: perl-String-CRC32 Name: perl-String-CRC32
Version: 1.5 Version: 1.5
Release: 7%{?dist} Release: 8%{?dist}
Summary: Perl interface for cyclic redundancy check generation Summary: Perl interface for cyclic redundancy check generation
Group: Development/Libraries Group: Development/Libraries
License: Public Domain License: Public Domain
URL: http://search.cpan.org/dist/String-CRC32/ URL: http://search.cpan.org/dist/String-CRC32/
Source0: http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) 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) BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time: # Module Runtime
BuildRequires: perl(DynaLoader) BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
# Test Suite
# (no additional dependencies)
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter} %{?perl_default_filter}
@ -36,8 +46,8 @@ make %{?_smp_mflags}
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name .packlist -delete
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} %{buildroot} %{_fixperms} %{buildroot}
%check %check
@ -50,9 +60,13 @@ rm -rf %{buildroot}
%doc README %doc README
%{perl_vendorarch}/String/ %{perl_vendorarch}/String/
%{perl_vendorarch}/auto/String/ %{perl_vendorarch}/auto/String/
%{_mandir}/man3/String::CRC32.3pm* %{_mandir}/man3/String::CRC32.3*
%changelog %changelog
* Tue Apr 19 2016 Paul Howarth <paul@city-fan.org> - 1.5-8
- Classify buildreqs by usage
- Simplify find commands using -delete
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-7 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Loading…
Cancel
Save