Update to 9999.21-1.
Rework BRs. Drop xt-test. Spec file cosmetics.
This commit is contained in:
parent
4cfa84f8ab
commit
66bea19432
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/File-Slurp-9999.19.tar.gz
|
||||
/File-Slurp-9999.21.tar.gz
|
||||
|
||||
@ -1,30 +1,41 @@
|
||||
Name: perl-File-Slurp
|
||||
Version: 9999.19
|
||||
Release: 21%{?dist}
|
||||
Summary: Efficient Reading/Writing of Complete Files
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: https://metacpan.org/release/File-Slurp
|
||||
Source0: https://cpan.metacpan.org/modules/by-module/File/File-Slurp-%{version}.tar.gz
|
||||
Name: perl-File-Slurp
|
||||
Version: 9999.21
|
||||
Release: 1%{?dist}
|
||||
Summary: Efficient Reading/Writing of Complete Files
|
||||
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
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: %{__perl}
|
||||
BuildRequires: %{__make}
|
||||
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Run-time
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Errno)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(Fcntl)
|
||||
BuildRequires: perl(POSIX)
|
||||
BuildRequires: perl(re)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(warnings)
|
||||
|
||||
# Tests
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(IO::Handle)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(Socket)
|
||||
BuildRequires: perl(Symbol)
|
||||
BuildRequires: perl(Test::More)
|
||||
# Optional tests
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
%description
|
||||
This module provides subs that allow you to read or write entire files with
|
||||
@ -37,31 +48,32 @@ pseudo-files, and DATA.
|
||||
|
||||
%prep
|
||||
%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
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
%{__make} test
|
||||
|
||||
%files
|
||||
# For license text(s), see the perl package.
|
||||
%doc Changes README extras/
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/File
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Sat Oct 13 2018 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.21-1
|
||||
- Update to 9999.21-1.
|
||||
- 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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user