Remove %defattr.
- Modernize spec.
This commit is contained in:
parent
66539e15a0
commit
4833cf0347
@ -1,6 +1,6 @@
|
||||
Name: perl-File-Slurp
|
||||
Version: 9999.19
|
||||
Release: 12%{?dist}
|
||||
Release: 13%{?dist}
|
||||
Summary: Efficient Reading/Writing of Complete Files
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -43,12 +43,11 @@ find \( -executable -a -type f \) -exec chmod -x {} \;
|
||||
%{__perl} -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' extras/slurp_bench.pl
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
@ -56,13 +55,16 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
make test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
# For license text(s), see the perl package.
|
||||
%doc Changes README extras/
|
||||
%{perl_vendorlib}/File
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Jan 26 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.19-13
|
||||
- Remove %%defattr.
|
||||
- Modernize spec.
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9999.19-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user