diff --git a/.gitignore b/.gitignore index 7dd5166..c300ad5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -IO-Handle-Util-0.01.tar.gz +/IO-Handle-Util-0.02.tar.gz diff --git a/perl-IO-Handle-Util.spec b/perl-IO-Handle-Util.spec index e725f45..5f0ceba 100644 --- a/perl-IO-Handle-Util.spec +++ b/perl-IO-Handle-Util.spec @@ -1,30 +1,35 @@ Name: perl-IO-Handle-Util Summary: Utilities for working with IO::Handle-like objects -Version: 0.01 -Release: 24%{?dist} +Version: 0.02 +Release: 1%{?dist} License: GPL+ or Artistic -Group: Development/Libraries -Source0: https://cpan.metacpan.org/authors/id/N/NU/NUFFIN/IO-Handle-Util-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/IO-Handle-Util-%{version}.tar.gz URL: https://metacpan.org/release/IO-Handle-Util Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch +BuildRequires: %{__perl} + BuildRequires: perl-generators BuildRequires: perl(asa) +BuildRequires: perl(autodie) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(IO::String) +BuildRequires: perl(Module::Build::Tiny) +BuildRequires: perl(Module::Metadata) +BuildRequires: perl(ok) +BuildRequires: perl(overload) BuildRequires: perl(parent) BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) BuildRequires: perl(Sub::Exporter) BuildRequires: perl(Test::More) >= 0.88 -BuildRequires: perl(Test::use::ok) +BuildRequires: perl(warnings) +BuildRequires: perl(warnings::register) # Optional, require it for now. Requires: perl(IO::String) -%{?perl_default_filter} -%{?perl_default_subpackage_tests} - %description This module provides a number of helpful routines to manipulate or create IO::Handle like objects. @@ -33,23 +38,27 @@ create IO::Handle like objects. %setup -q -n IO-Handle-Util-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 -make %{?_smp_mflags} +%{__perl} Build.PL --installdirs=vendor +./Build %install -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' - +./Build install --destdir="%{buildroot}" --create_packlist=0 %{_fixperms} %{buildroot}/* %check -make test +./Build test %files %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Sat Oct 13 2018 Ralf Corsépius - 0.02-1 +- Update to 0.02. +- Switch to Build.PL. +- Rework deps. +- Modernize spec. + * Fri Jul 13 2018 Fedora Release Engineering - 0.01-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 9f7dbc6..c586a24 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ece953bc43c2e5914f92ec186cba0086 IO-Handle-Util-0.01.tar.gz +SHA512 (IO-Handle-Util-0.02.tar.gz) = 54b8c78f61915953ec8c484f50d0d64c965626ff45bda5ebed9f5e414a0a1011ba4d6aa2aa543991654718c06bb69860de80861dde472da295bde60ac7563b2b