Fix FTBFS due to missing buildreq perl-devel

Also, simplify find commands using -empty and -delete
f38
Paul Howarth 9 years ago
parent 0d42c642d2
commit 1a3e64ab7b

@ -1,13 +1,18 @@
Name: perl-Devel-Declare
Version: 0.006018
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Adding keywords to perl, in perl
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Devel-Declare/
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Devel-Declare-%{version}.tar.gz
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-devel
BuildRequires: perl(ExtUtils::Depends)
BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime
@ -56,8 +61,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' -size 0 -exec rm -f {} \;
find %{buildroot} -type f -name .packlist -delete
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} %{buildroot}
%check
@ -70,6 +75,10 @@ make test
%{_mandir}/man3/Devel::Declare.3*
%changelog
* Wed Apr 20 2016 Paul Howarth <paul@city-fan.org> - 0.006018-6
- 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.006018-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Loading…
Cancel
Save