|
|
@ -1,42 +1,30 @@
|
|
|
|
Name: perl-File-Slurp
|
|
|
|
Name: perl-File-Slurp
|
|
|
|
Version: 9999.32
|
|
|
|
Version: 9999.19
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Release: 19%{?dist}
|
|
|
|
Summary: Efficient Reading/Writing of Complete Files
|
|
|
|
Summary: Efficient Reading/Writing of Complete Files
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: https://metacpan.org/release/File-Slurp
|
|
|
|
Group: Development/Libraries
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/File/File-Slurp-%{version}.tar.gz
|
|
|
|
URL: http://search.cpan.org/dist/File-Slurp/
|
|
|
|
|
|
|
|
Source0: http://www.cpan.org/modules/by-module/File/File-Slurp-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: %{__perl}
|
|
|
|
|
|
|
|
BuildRequires: %{__make}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
# Run-time
|
|
|
|
# Run-time
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Errno)
|
|
|
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Fcntl)
|
|
|
|
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
|
|
|
|
BuildRequires: perl(re)
|
|
|
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Tests
|
|
|
|
# Tests
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(File::Spec) >= 3.01
|
|
|
|
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
|
|
|
|
BuildRequires: perl(Socket)
|
|
|
|
|
|
|
|
BuildRequires: perl(Symbol)
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
|
|
|
# Optional tests
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.14
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This module provides subs that allow you to read or write entire files with
|
|
|
|
This module provides subs that allow you to read or write entire files with
|
|
|
@ -49,92 +37,33 @@ pseudo-files, and DATA.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n File-Slurp-%{version}
|
|
|
|
%setup -q -n File-Slurp-%{version}
|
|
|
|
|
|
|
|
iconv -f iso8859-1 -t UTF-8 Changes > Changes~
|
|
|
|
|
|
|
|
mv 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} %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%{__make} test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
# For license text(s), see the perl package.
|
|
|
|
# For license text(s), see the perl package.
|
|
|
|
%doc Changes README.md
|
|
|
|
%doc Changes README extras/
|
|
|
|
%{perl_vendorlib}/File
|
|
|
|
%{perl_vendorlib}/File
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 9999.32-5
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 9999.19-19
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 9999.32-4
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9999.32-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9999.32-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 08 2020 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.32-1
|
|
|
|
|
|
|
|
- Update to 9999.32.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 9999.30-2
|
|
|
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 27 2020 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.30-1
|
|
|
|
|
|
|
|
- Update to 9999.30.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9999.29-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 28 2019 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.29-1
|
|
|
|
|
|
|
|
- Update to 9999.29.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Sep 18 2019 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.28-1
|
|
|
|
|
|
|
|
- Update to 9999.28.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9999.27-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 9999.27-2
|
|
|
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 11 2019 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.27-1
|
|
|
|
|
|
|
|
- Update to 9999.27.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 16 2019 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.26-1
|
|
|
|
|
|
|
|
- Update to 9999.26.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9999.25-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Nov 21 2018 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.25-1
|
|
|
|
|
|
|
|
- Update to 9999.25.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 05 2018 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.24-1
|
|
|
|
|
|
|
|
- Update to 9999.24.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 22 2018 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.23-1
|
|
|
|
|
|
|
|
- Update to 9999.23.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Oct 13 2018 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.21-1
|
|
|
|
|
|
|
|
- Update to 9999.21.
|
|
|
|
|
|
|
|
- Rework BRs.
|
|
|
|
|
|
|
|
- Drop xt-test.
|
|
|
|
|
|
|
|
- Spec file cosmetics.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9999.19-21
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 9999.19-20
|
|
|
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9999.19-19
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9999.19-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|