From 2b1b037d75cfbf08468d59f04825c069c97fac35 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Mon, 13 Jun 2016 14:54:05 +0100
Subject: Update to 1.33
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- New upstream release 1.33
  - Remove dependency on Test::Exception
- This release by JACOBY → update source URL
- BR: perl-generators where available
- Package new LICENSE file
---
 perl-Expect.spec | 32 +++++++++++++++++++++++++-------
 sources          |  2 +-
 2 files changed, 26 insertions(+), 8 deletions(-)

diff --git a/perl-Expect.spec b/perl-Expect.spec
index 90f95fc..de41681 100644
--- a/perl-Expect.spec
+++ b/perl-Expect.spec
@@ -1,14 +1,21 @@
 Name:          perl-Expect
-Version:       1.32
-Release:       5%{?dist}
+Version:       1.33
+Release:       1%{?dist}
 Summary:       Expect for Perl
 License:       GPL+ or Artistic
 URL:           http://search.cpan.org/dist/Expect/
-Source0:       
http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/Expect-%{version}.tar.gz
+Source0:       
http://search.cpan.org/CPAN/authors/id/J/JA/JACOBY/Expect-%{version}.tar.gz
 BuildArch:     noarch
 # Module Build
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
 BuildRequires: perl
+%if 0%{?fedora} > 20 || 0%{?rhel} > 7
+BuildRequires: perl-generators
+%endif
 BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: sed
 # Module Runtime
 BuildRequires: perl(Carp)
 BuildRequires: perl(Errno)
@@ -25,7 +32,6 @@ BuildRequires:        perl(warnings)
 BuildRequires: perl(Config)
 BuildRequires: perl(File::Temp)
 BuildRequires: perl(Test::Builder)
-BuildRequires: perl(Test::Exception) >= 0.32
 BuildRequires: perl(Test::More) >= 0.98
 # Runtime
 Requires:      perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@@ -36,7 +42,7 @@ a tool for automating interactive applications such as 
telnet, ftp,
 passwd, fsck, rlogin, tip, etc.
 
 %prep
-%setup -q -n Expect-%{version}
+%setup -q -n expect.pm-Expect-%{version}
 sed -i 's|^#!/usr/local/bin/perl|#!/usr/bin/perl|' examples/kibitz/kibitz 
tutorial/[2-6].*
 chmod -c a-x examples/ssh.pl examples/kibitz/kibitz tutorial/[2-6].*
 
@@ -46,18 +52,30 @@ make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type f -name .packlist -delete
 %{_fixperms} %{buildroot}
 
 %check
 make test
 
 %files
+%if 0%{?_licensedir:1}
+%license LICENSE
+%else
+%doc LICENSE
+%endif
 %doc Changes README.md examples/ tutorial/
 %{perl_vendorlib}/Expect.pm
-%{_mandir}/man3/Expect.3pm*
+%{_mandir}/man3/Expect.3*
 
 %changelog
+* Mon Jun 13 2016 Paul Howarth <p...@city-fan.org> - 1.33-1
+- Update to 1.33
+  - Remove dependency on Test::Exception
+- This release by JACOBY → update source URL
+- BR: perl-generators where available
+- Package new LICENSE file
+
 * Sun May 15 2016 Jitka Plesnikova <jples...@redhat.com> - 1.32-5
 - Perl 5.24 rebuild
 
diff --git a/sources b/sources
index b8ceb2c..216fd5d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f71527a34d57f601d5047ad9aa98e4e4  Expect-1.32.tar.gz
+1fbb052de1383966a3be5f420a34e83c  Expect-1.33.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Expect.git/commit/?h=master&id=2b1b037d75cfbf08468d59f04825c069c97fac35
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to