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
|
Name: perl-File-Slurp
|
||||||
Summary: Simple and Efficient Reading/Writing/Modifying of Complete File
|
Summary: Simple and Efficient Reading/Writing/Modifying of Complete File
|
||||||
Version: 9999.19
|
Version: 9999.32
|
||||||
Release: 22
|
Release: 1
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: https://metacpan.org/release/File-Slurp
|
URL: https://metacpan.org/release/File-Slurp
|
||||||
Source0: https://cpan.metacpan.org/modules/by-module/File/File-Slurp-%{version}.tar.gz
|
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-generators perl(ExtUtils::MakeMaker) perl(Carp) perl(Errno)
|
||||||
BuildRequires: perl(Data::Dumper) perl(IO::Handle) perl(lib) perl(Test::More)
|
BuildRequires: perl(Exporter) perl(Fcntl) perl(POSIX) perl(re) perl(strict)
|
||||||
BuildRequires: perl(Test::Pod) >= 1.14 perl(Test::Pod::Coverage) >= 1.04
|
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))
|
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
|
%prep
|
||||||
%autosetup -p1 -n File-Slurp-%{version}
|
%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
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||||
%make_build
|
%make_build
|
||||||
@ -49,9 +45,12 @@ make test
|
|||||||
%{perl_vendorlib}/File
|
%{perl_vendorlib}/File
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc Changes README extras/
|
%doc Changes README.md
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%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
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user