Fix FTBFS due to missing buildreq perl-devel

Also, simplify find commands using -empty and -delete
epel9
Paul Howarth 9 years ago
parent 13a2c50f4a
commit 85871a028b

@ -1,6 +1,6 @@
Name: perl-Class-Load-XS
Version: 0.09
Release: 4%{?dist}
Release: 5%{?dist}
Summary: XS implementation of parts of Class::Load
License: Artistic 2.0
URL: http://search.cpan.org/dist/Class-Load-XS/
@ -8,7 +8,12 @@ Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Load-XS-%{versi
# ===================================================================
# Module build requirements
# ===================================================================
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-devel
BuildRequires: perl(ExtUtils::MakeMaker)
# ===================================================================
# Module requirements
@ -51,8 +56,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' -empty -delete
%{_fixperms} %{buildroot}
%check
@ -63,9 +68,13 @@ make test
%doc Changes CONTRIBUTING README
%{perl_vendorarch}/auto/Class/
%{perl_vendorarch}/Class/
%{_mandir}/man3/Class::Load::XS.3pm*
%{_mandir}/man3/Class::Load::XS.3*
%changelog
* Thu Apr 21 2016 Paul Howarth <paul@city-fan.org> - 0.09-5
- Fix FTBFS due to missing buildreq perl-devel
- Simplify find commands using -empty and -delete
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Loading…
Cancel
Save