Hello community, here is the log from the commit of package perl-Test-TCP for openSUSE:Factory checked in at 2013-11-13 09:45:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Test-TCP (Old) and /work/SRC/openSUSE:Factory/.perl-Test-TCP.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-TCP" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Test-TCP/perl-Test-TCP.changes 2013-06-25 06:58:23.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Test-TCP.new/perl-Test-TCP.changes 2013-11-13 09:45:43.000000000 +0100 @@ -1,0 +2,33 @@ +Fri Oct 4 09:15:18 UTC 2013 - [email protected] + +- updated to 2.01 + test waitport argument by running full code-chain, not with partial mocking + + The partial mocks cause stuck forks on win32 at times, causing the test to + hang. With the full code chain present the test runs reliably + + [INCOMPATIBLE CHANGES] + - Change wait_port() API to take max_wait seconds, and wait exponentially. + Dropped wait_port_retry argument introduced at 1.27. + (miyagawa) + + - Increase the default sleep and retry: 0.01 sec and 1000 times + (miyagawa) + + - Care the `test_tcp(port => undef)` case. + https://github.com/tokuhirom/Test-TCP/issues/13 + + - Added wait_port_sleep and wait_port_retry option for + Test::TCP::wait_port, Test::TCP#new, test_tcp(). + (tokuhirom) + + - export wait_port from Net::EmptyPort + (Pavel Shaydo) + - Make default wait_port() sleeping time shorter. + 0.1sec => 0.0001sec. + (tokuhirom) + + - Remove unused deps from cpanfile. +- remove no longer necessary test-no-note.patch + +------------------------------------------------------------------- Old: ---- Test-TCP-1.15.tar.bz2 New: ---- Test-TCP-2.01.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Test-TCP.spec ++++++ --- /var/tmp/diff_new_pack.Q8wcRs/_old 2013-11-13 09:45:43.000000000 +0100 +++ /var/tmp/diff_new_pack.Q8wcRs/_new 2013-11-13 09:45:43.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Test-TCP # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,56 +17,51 @@ Name: perl-Test-TCP -Version: 1.15 +Version: 2.01 Release: 0 %define cpan_name Test-TCP Summary: Testing TCP program -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Test-TCP/ -Source: %{cpan_name}-%{version}.tar.bz2 -# PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches -Patch0: test-no-note.patch +Source: http://www.cpan.org/authors/id/T/TO/TOKUHIROM/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl -BuildRequires: perl >= 5.8.0 BuildRequires: perl-macros -BuildRequires: perl(IO::Socket::INET) +BuildRequires: perl(CPAN::Meta) +BuildRequires: perl(CPAN::Meta::Prereqs) +BuildRequires: perl(Module::Build) >= 0.38 +BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(Test::SharedFork) >= 0.19 -Requires: perl >= 5.8.0 -Requires: perl(IO::Socket::INET) +#BuildRequires: perl(File::Which) +#BuildRequires: perl(Net::EmptyPort) +#BuildRequires: perl(Perl::Critic) >= 1.105 +#BuildRequires: perl(Test::Perl::Critic) >= 1.02 +#BuildRequires: perl(Test::TCP) +#BuildRequires: perl(t::Server) Requires: perl(Test::SharedFork) >= 0.19 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %{perl_requires} %description -Test::TCP is test utilities for TCP/IP program. +Test::TCP is test utilities for TCP/IP programs. %prep %setup -q -n %{cpan_name}-%{version} -%patch0 -p1 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +%{__perl} Build.PL installdirs=vendor +./Build build flags=%{?_smp_mflags} %check -%{__make} test +./Build test %install -%perl_make_install -# do not perl_process_packlist (noarch) -# remove .packlist file -%{__rm} -rf %{buildroot}%perl_vendorarch -# remove perllocal.pod file -%{__rm} -rf %{buildroot}%perl_archlib +./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(-,root,root,-) -%doc Changes README +%defattr(-,root,root,755) +%doc Changes cpanfile LICENSE README.md %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
