diff --git a/perl-Expect.spec b/perl-Expect.spec index 58bab02..760100d 100644 --- a/perl-Expect.spec +++ b/perl-Expect.spec @@ -1,22 +1,29 @@ Name: perl-Expect -Version: 1.21 -Release: 18%{?dist} +Version: 1.31 +Release: 1%{?dist} Summary: Expect for Perl -Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Expect/ -Source0: http://search.cpan.org/CPAN/authors/id/R/RG/RGIERSIG/Expect-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) +Source0: http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/Expect-%{version}.tar.gz BuildArch: noarch +BuildRequires: bc +BuildRequires: perl BuildRequires: perl(Carp) +BuildRequires: perl(Config) BuildRequires: perl(Errno) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Fcntl) +BuildRequires: perl(File::Temp) BuildRequires: perl(IO::Handle) -BuildRequires: perl(IO::Pty) >= 1.03 -BuildRequires: perl(IO::Tty) >= 1.03 +BuildRequires: perl(IO::Pty) >= 1.11 +BuildRequires: perl(IO::Tty) >= 1.11 BuildRequires: perl(POSIX) +BuildRequires: perl(strict) +BuildRequires: perl(Test::Exception) >= 0.32 +BuildRequires: perl(Test::More) >= 0.98 +BuildRequires: perl(vars) +BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description @@ -24,7 +31,6 @@ This module provides Expect-like functionality to Perl. Expect is a tool for automating interactive applications such as telnet, ftp, passwd, fsck, rlogin, tip, etc. - %prep %setup -q -n Expect-%{version} sed -i 's|^#!/usr/local/bin/perl|#!/usr/bin/perl|' examples/kibitz/kibitz tutorial/[2-6].* @@ -35,26 +41,56 @@ perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null %{_fixperms} %{buildroot} %check make test -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) -%doc Changes README examples/ tutorial/ -%doc %{perl_vendorlib}/Expect.pod +%doc Changes README.md examples/ tutorial/ %{perl_vendorlib}/Expect.pm %{_mandir}/man3/Expect.3pm* %changelog +* Mon Sep 8 2014 Paul Howarth - 1.31-1 +- Update to 1.31 + - New co-maintainer (Gabor Szabo) + - Merge .pod and .pm and move them to lib/ + - Move the test and the code to standard location /t in the distribution + - Eliminate indirect calls in tests + - Use Test::More instead of home-brew testing + - Typos fixed in pod (CPAN RT#86852) + - Changes file re-ordered and standardized + - Refactored test script + - Eliminate indirect calls in the code and in the docs + - Use Perl::Tidy to unify layout + - Added use warnings; + - IO::Tty prerequisite version 1.03 → 1.11 + - More test diagnostics + - Tests added for CPAN RT#62359 + - Skip the bc test on OS-es where it has been failing + - Stop inheriting from Exporter + - Eliminate $` and $' from the code (part of CPAN RT#61395); this fix might + break some existing code in some extreme cases when the regex being matched + has a lookbehind or a lookahead at the edges + - Remove $& and $`, fixing the rest of CPAN RT#61395 + - Various code refactoring declaring loop variables, parameter passing, + return undef, etc. + - Croak if undef passed to _trim_length + - Update documentation according to CPAN RT#60722 + - CPAN RT#47834: after a failed call to ->expect, the ->match and ->after + will return undef and ->before will return the content of the accumulator; + earlier they retained the values obtained during the last successful match + (->before will return undef the first time but later, if we call + ->clear_accum, it will start returning the empty string) + - In the tests, add special treatment for $^O=midnightbsd and dragonfly, and + for $^O=linux as well + - Test t/11-calc.t also got some special treatment +- This release by SZABGAB → update source URL +- As we need Test::More ≳ 0.98, drop support for old distributions + * Wed Aug 27 2014 Jitka Plesnikova - 1.21-18 - Perl 5.20 rebuild diff --git a/sources b/sources index 22fcaac..d2a4843 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a151b0dc4d1a35c73941c65b7c26da5b Expect-1.21.tar.gz +d0ea473468999443e9add69eecdcbbf6 Expect-1.31.tar.gz