Fix FTBFS due to missing buildreq perl-devel
Also, simplify find commands using -empty and -delete
This commit is contained in:
parent
1c7e2c1b12
commit
a045319dc2
@ -1,13 +1,18 @@
|
||||
Name: perl-PerlIO-utf8_strict
|
||||
Version: 0.006
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Fast and correct UTF-8 I/O
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/PerlIO-utf8_strict/
|
||||
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/PerlIO-utf8_strict-%{version}.tar.gz
|
||||
# Build:
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
@ -38,8 +43,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
|
||||
@ -53,6 +58,10 @@ make test
|
||||
%{_mandir}/man3/PerlIO::utf8_strict.3*
|
||||
|
||||
%changelog
|
||||
* Wed Apr 20 2016 Paul Howarth <paul@city-fan.org> - 0.006-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.006-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user