0214713
Name:		perl-Expect
8d4033e
Version:	1.32
4110720
Release:	3%{?dist}
0214713
Summary:	Expect for Perl
0214713
License:	GPL+ or Artistic
0214713
URL:		http://search.cpan.org/dist/Expect/
6149a7c
Source0:	http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/Expect-%{version}.tar.gz
0214713
BuildArch:	noarch
8d4033e
# Module Build
6149a7c
BuildRequires:	perl
8d4033e
BuildRequires:	perl(ExtUtils::MakeMaker)
8d4033e
# Module Runtime
0214713
BuildRequires:	perl(Carp)
0214713
BuildRequires:	perl(Errno)
0214713
BuildRequires:	perl(Exporter)
0214713
BuildRequires:	perl(Fcntl)
0214713
BuildRequires:	perl(IO::Handle)
6149a7c
BuildRequires:	perl(IO::Pty) >= 1.11
6149a7c
BuildRequires:	perl(IO::Tty) >= 1.11
0214713
BuildRequires:	perl(POSIX)
6149a7c
BuildRequires:	perl(strict)
6149a7c
BuildRequires:	perl(vars)
6149a7c
BuildRequires:	perl(warnings)
8d4033e
# Test Suite
8d4033e
BuildRequires:	perl(Config)
8d4033e
BuildRequires:	perl(File::Temp)
8d4033e
BuildRequires:	perl(Test::Builder)
8d4033e
BuildRequires:	perl(Test::Exception) >= 0.32
8d4033e
BuildRequires:	perl(Test::More) >= 0.98
8d4033e
# Runtime
0214713
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
99e04f7
99e04f7
%description
0214713
This module provides Expect-like functionality to Perl. Expect is
99e04f7
a tool for automating interactive applications such as telnet, ftp,
99e04f7
passwd, fsck, rlogin, tip, etc.
99e04f7
99e04f7
%prep
99e04f7
%setup -q -n Expect-%{version}
0214713
sed -i 's|^#!/usr/local/bin/perl|#!/usr/bin/perl|' examples/kibitz/kibitz tutorial/[2-6].*
0214713
chmod -c a-x examples/ssh.pl examples/kibitz/kibitz tutorial/[2-6].*
99e04f7
99e04f7
%build
0214713
perl Makefile.PL INSTALLDIRS=vendor
99e04f7
make %{?_smp_mflags}
99e04f7
99e04f7
%install
0214713
make pure_install DESTDIR=%{buildroot}
0214713
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
0214713
%{_fixperms} %{buildroot}
99e04f7
99e04f7
%check
0214713
make test
99e04f7
99e04f7
%files
6149a7c
%doc Changes README.md examples/ tutorial/
0214713
%{perl_vendorlib}/Expect.pm
0214713
%{_mandir}/man3/Expect.3pm*
99e04f7
99e04f7
%changelog
4110720
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.32-3
4110720
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4110720
c214de8
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.32-2
c214de8
- Perl 5.22 rebuild
c214de8
8d4033e
* Sun Oct 26 2014 Paul Howarth <paul@city-fan.org> - 1.32-1
8d4033e
- Update to 1.32
8d4033e
  - Skip bc tests (CPAN RT#98495)
8d4033e
- Classify buildreqs by usage
8d4033e
1ff41d9
* Tue Sep 09 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-2
1ff41d9
- Perl 5.20 mass
1ff41d9
6149a7c
* Mon Sep  8 2014 Paul Howarth <paul@city-fan.org> - 1.31-1
6149a7c
- Update to 1.31
6149a7c
  - New co-maintainer (Gabor Szabo)
6149a7c
  - Merge .pod and .pm and move them to lib/
6149a7c
  - Move the test and the code to standard location /t in the distribution
6149a7c
  - Eliminate indirect calls in tests
6149a7c
  - Use Test::More instead of home-brew testing
6149a7c
  - Typos fixed in pod (CPAN RT#86852)
6149a7c
  - Changes file re-ordered and standardized
6149a7c
  - Refactored test script
6149a7c
  - Eliminate indirect calls in the code and in the docs
6149a7c
  - Use Perl::Tidy to unify layout
6149a7c
  - Added use warnings;
6149a7c
  - IO::Tty prerequisite version 1.03 → 1.11
6149a7c
  - More test diagnostics
6149a7c
  - Tests added for CPAN RT#62359
6149a7c
  - Skip the bc test on OS-es where it has been failing
6149a7c
  - Stop inheriting from Exporter
6149a7c
  - Eliminate $` and $' from the code (part of CPAN RT#61395); this fix might
6149a7c
    break some existing code in some extreme cases when the regex being matched
6149a7c
    has a lookbehind or a lookahead at the edges
6149a7c
  - Remove $& and $`, fixing the rest of CPAN RT#61395
6149a7c
  - Various code refactoring declaring loop variables, parameter passing,
6149a7c
    return undef, etc.
6149a7c
  - Croak if undef passed to _trim_length
6149a7c
  - Update documentation according to CPAN RT#60722
6149a7c
  - CPAN RT#47834: after a failed call to ->expect, the ->match and ->after
6149a7c
    will return undef and ->before will return the content of the accumulator;
6149a7c
    earlier they retained the values obtained during the last successful match
6149a7c
    (->before will return undef the first time but later, if we call
6149a7c
    ->clear_accum, it will start returning the empty string)
6149a7c
  - In the tests, add special treatment for $^O=midnightbsd and dragonfly, and
6149a7c
    for $^O=linux as well
6149a7c
  - Test t/11-calc.t also got some special treatment
6149a7c
- This release by SZABGAB → update source URL
6149a7c
- As we need Test::More ≳ 0.98, drop support for old distributions
6149a7c
ee24370
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-18
ee24370
- Perl 5.20 rebuild
ee24370
35d1b1b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-17
35d1b1b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
35d1b1b
74de45f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-16
74de45f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
74de45f
c4ad039
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.21-15
c4ad039
- Perl 5.18 rebuild
c4ad039
1fdc683
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-14
1fdc683
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1fdc683
d643634
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-13
d643634
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d643634
81ee232
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.21-12
81ee232
- Perl 5.16 rebuild
81ee232
0214713
* Mon Jan 23 2012 Paul Howarth <paul@city-fan.org> - 1.21-11
0214713
- Spec clean-up
0214713
  - Run the test suite in %%check now that it no longer breaks in mock
0214713
  - BR: perl(Carp), perl(Errno), perl(Exporter), perl(Fcntl), perl(IO::Handle)
0214713
    and perl(POSIX)
0214713
  - Make %%files list more explicit
0214713
  - Mark Expect.pod as %%doc
0214713
  - Use search.cpan.org source URL
0214713
  - Use DESTDIR rather than PERL_INSTALL_ROOT
0214713
  - Use %%{_fixperms} macro rather than our own chmod incantation
0214713
  - Don't use macros for commands
0214713
  - Use tabs
0214713
950681f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-10
950681f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
950681f
c58b082
* Thu Jun 23 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.21-9
c58b082
- Perl mass rebuild
c58b082
2fefed5
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-8
2fefed5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2fefed5
49cb3a8
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.21-7
0214713
- Rebuild to fix problems with vendorarch/lib (#661697)
49cb3a8
491b3a8
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.21-6
491b3a8
- Mass rebuild with perl-5.12.0
491b3a8
c4e0c28
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.21-5
c4e0c28
- Mass rebuild with perl-5.12.0
c4e0c28
210d73a
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.21-4
0214713
- Rebuild against perl 5.10.1
210d73a
e18fbe7
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-3
e18fbe7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e18fbe7
3022199
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-2
3022199
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3022199
a263359
* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-1
0214713
- Update to 1.21
a263359
de03d1c
* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.20-2
0214713
- Rebuild for new perl
de03d1c
4090845
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.20-1.1
0214713
- Correct license tag
0214713
- Add BR: perl(ExtUtils::MakeMaker)
4090845
adfbf0e
* Fri Jul 21 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.20-1
0214713
- Update to 1.20
adfbf0e
db195bb
* Tue Jul 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.19-1
0214713
- Update to 1.19
db195bb
aa1eccc
* Tue Jul 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.18-1
0214713
- Update to 1.18
aa1eccc
0e49b01
* Wed May 31 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.17-1
0214713
- Update to 1.17
0e49b01
99e04f7
* Tue May 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.16-2
0214713
- Description improved as suggested in #191622
99e04f7
99e04f7
* Mon May 08 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.16-1
0214713
- First build