Fix FTBFS due to missing buildreq perl-devel

- Classify buildreqs by usage
- Simplify find commands using -empty and -delete
epel9
Paul Howarth 9 years ago
parent 4731468fd5
commit cdf1775f0e

@ -1,20 +1,31 @@
Name: perl-Unicode-Map Name: perl-Unicode-Map
Version: 0.112 Version: 0.112
Release: 36%{?dist} Release: 37%{?dist}
Summary: Perl module for mapping charsets from and to utf16 unicode Summary: Perl module for mapping charsets from and to utf16 unicode
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Unicode-Map/ URL: http://search.cpan.org/dist/Unicode-Map/
Source0: http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/Unicode-Map-0.112.tar.gz 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
BuildRequires: perl-devel
BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(DynaLoader) BuildRequires: perl(DynaLoader)
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict)
BuildRequires: perl(vars)
# Script Runtime
BuildRequires: perl(Getopt::Long) BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Getopt::Std) BuildRequires: perl(Getopt::Std)
BuildRequires: perl(HTTP::Status) BuildRequires: perl(HTTP::Status)
BuildRequires: perl(LWP::Simple) BuildRequires: perl(LWP::Simple)
BuildRequires: perl(strict) # Test Suite
BuildRequires: perl(vars) # (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}
@ -47,8 +58,8 @@ make %{?_smp_mflags}
%install %install
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' -a -size 0 -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -a -empty -delete
%{_fixperms} %{buildroot} %{_fixperms} %{buildroot}
%check %check
@ -68,6 +79,10 @@ make test
%{_mandir}/man3/Unicode::Map.3* %{_mandir}/man3/Unicode::Map.3*
%changelog %changelog
* Tue Apr 19 2016 Paul Howarth <paul@city-fan.org> - 0.112-37
- Classify buildreqs by usage
- Simplify find commands using -empty and -delete
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.112-36 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.112-36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Loading…
Cancel
Save