commit
b19421603d
Binary file not shown.
BIN
File-Slurp-9999.32.tar.gz
Normal file
BIN
File-Slurp-9999.32.tar.gz
Normal file
Binary file not shown.
@ -1,14 +1,16 @@
|
||||
Name: perl-File-Slurp
|
||||
Summary: Simple and Efficient Reading/Writing/Modifying of Complete File
|
||||
Version: 9999.19
|
||||
Release: 22
|
||||
Version: 9999.32
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/File-Slurp
|
||||
Source0: https://cpan.metacpan.org/modules/by-module/File/File-Slurp-%{version}.tar.gz
|
||||
|
||||
BuildRequires: perl-generators perl(Exporter) perl(Carp) perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Data::Dumper) perl(IO::Handle) perl(lib) perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod) >= 1.14 perl(Test::Pod::Coverage) >= 1.04
|
||||
BuildRequires: perl-generators perl(ExtUtils::MakeMaker) perl(Carp) perl(Errno)
|
||||
BuildRequires: perl(Exporter) perl(Fcntl) perl(POSIX) perl(re) perl(strict)
|
||||
BuildRequires: perl(vars) perl(warnings) perl(File::Basename) perl(File::Spec) >= 3.01
|
||||
BuildRequires: perl(File::Temp) perl(IO::Handle) perl(lib) perl(overload) perl(Scalar::Util)
|
||||
BuildRequires: perl(Socket) perl(Symbol) perl(Test::More)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
@ -27,12 +29,6 @@ a sub to read in all the files in a directory.
|
||||
%prep
|
||||
%autosetup -p1 -n File-Slurp-%{version}
|
||||
|
||||
iconv -f iso8859-1 -t UTF-8 Changes > Changes~
|
||||
ln -sf Changes~ Changes
|
||||
|
||||
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 NO_PACKLIST=1
|
||||
%make_build
|
||||
@ -49,9 +45,12 @@ make test
|
||||
%{perl_vendorlib}/File
|
||||
|
||||
%files help
|
||||
%doc Changes README extras/
|
||||
%doc Changes README.md
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Nov 19 2019 caomeng<caomeng5@huawei.com> -9999.19-22
|
||||
* Mon Aug 17 2020 lingsheng<lingsheng@huawei.com> - 9999.32-1
|
||||
- Update to 9999.32
|
||||
|
||||
* Tue Nov 19 2019 caomeng<caomeng5@huawei.com> - 9999.19-22
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user