diff --git a/perl-IO-Stty.spec b/perl-IO-Stty.spec index 351e0ec..887d945 100644 --- a/perl-IO-Stty.spec +++ b/perl-IO-Stty.spec @@ -1,21 +1,23 @@ Name: perl-IO-Stty Version: 0.03 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Change and print terminal line settings License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/IO-Stty/ Source0: http://www.cpan.org/authors/id/T/TO/TODDR/IO-Stty-%{version}.tar.gz BuildArch: noarch +BuildRequires: perl BuildRequires: perl(Module::Build) -BuildRequires: perl(Pod::Coverage) BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time BuildRequires: perl(POSIX) +# Tests +BuildRequires: perl(Pod::Coverage) >= 0.18 BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Pod::Coverage) -BuildRequires: perl(warnings) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(Test::Pod) >= 1.22 +BuildRequires: perl(Test::Pod::Coverage) >= 1.08 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %{?perl_default_filter} @@ -26,26 +28,26 @@ This is the Perl POSIX compliant stty. %setup -q -n IO-Stty-%{version} %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL installdirs=vendor ./Build %install ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %files -%defattr(-,root,root,-) %doc Changes README %{_bindir}/* %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Thu Feb 18 2016 Jitka Plesnikova - 0.03-14 +- Package cleanup + * Thu Feb 04 2016 Fedora Release Engineering - 0.03-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild