Hello community, here is the log from the commit of package perl-Expect for openSUSE:Factory checked in at 2015-04-25 09:52:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Expect (Old) and /work/SRC/openSUSE:Factory/.perl-Expect.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Expect" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Expect/perl-Expect.changes 2011-09-23 12:36:58.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Expect.new/perl-Expect.changes 2015-04-25 09:54:25.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Apr 14 17:44:21 UTC 2015 - co...@suse.com + +- updated to 1.32 + see /usr/share/doc/packages/perl-Expect/Changes + +------------------------------------------------------------------- Old: ---- Expect-1.21.tar.gz New: ---- Expect-1.32.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Expect.spec ++++++ --- /var/tmp/diff_new_pack.C2ORlb/_old 2015-04-25 09:54:25.000000000 +0200 +++ /var/tmp/diff_new_pack.C2ORlb/_new 2015-04-25 09:54:25.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package perl-Expect (Version 1.21) +# spec file for package perl-Expect # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,60 +15,68 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: perl-Expect -BuildRequires: perl-IO-Stty perl-IO-Tty -BuildRequires: perl-macros -Url: http://search.cpan.org/search?module=Expect -License: Artistic-1.0 +Version: 1.32 +Release: 0 +%define cpan_name Expect +Summary: Automate Interactions with Command Line Programs That Expose a Text Term[cut] +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Requires: perl-IO-Tty perl-IO-Stty -AutoReqProv: on -Summary: Expect for perl -Version: 1.21 -Release: 55 -Source: Expect-%{version}.tar.gz -Patch: Expect.diff +Url: http://search.cpan.org/dist/Expect/ +Source0: http://www.cpan.org/authors/id/S/SZ/SZABGAB/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +Patch0: Expect.diff +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(IO::Pty) >= 1.11 +BuildRequires: perl(IO::Tty) >= 1.11 +BuildRequires: perl(Test::Exception) >= 0.32 +BuildRequires: perl(Test::More) >= 1.00 +Requires: perl(IO::Pty) >= 1.11 +Requires: perl(IO::Tty) >= 1.11 %{perl_requires} %description -A tool for automating interactive programs - - - -Authors: --------- - Roland Giersig <rgier...@cpan.org> - Austin Schutz <t...@habit.com> +The Expect module is a successor of Comm.pl and a descendent of Chat.pl. It +more closely resembles the Tcl Expect language than its predecessors. It +does not contain any of the networking code found in Comm.pl. I suspect +this would be obsolete anyway given the advent of IO::Socket and external +tools such as netcat. + +Expect.pm is an attempt to have more of a switch() & case feeling to make +decision processing more fluid. Three separate types of debugging have been +implemented to make code production easier. + +It is possible to interconnect multiple file handles (and processes) much +like Tcl's Expect. An attempt was made to enable all the features of Tcl's +Expect without forcing Tcl on the victim programmer :-) . + +Please, before you consider using Expect, read the FAQs about the /"I want +to automate password entry for su/ssh/scp/rsh/..." manpage and the /"I want +to use Expect to automate [anything with a buzzword]..." manpage %prep -%setup -n Expect-%{version} -%patch -p1 +%setup -q -n %{cpan_name}-%{version} +find . -type f -print0 | xargs -0 chmod 644 +%patch0 -p1 %build -perl Makefile.PL -make %{?_smp_mflags} -make test +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test %install -make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install %perl_process_packlist -chmod 644 %{_builddir}/Expect-%{version}/tutorial/* - -%clean -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; +%perl_gen_filelist -%files -%defattr(-,root,root) -%doc Changes MANIFEST README -%{perl_vendorarch}/auto/Expect/ -/%{perl_vendorlib}/Expect.pod -/%{perl_vendorlib}/Expect.pm -%doc tutorial -%doc examples -%doc %{_mandir}/man3/* +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes examples README.md %changelog ++++++ Expect-1.21.tar.gz -> Expect-1.32.tar.gz ++++++ ++++ 8526 lines of diff (skipped) ++++++ cpanspec.yml ++++++ --- patches: Expect.diff: -p1 #preamble: |- # BuildRequires: gcc-c++ #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: - #./Build build flags=%{?_smp_mflags} --myflag