[perl-Test-TCP] Upstream update.
corsepiu
corsepiu at fedoraproject.org
Mon Jun 30 07:55:26 UTC 2014
commit 7aeafd35e2a73e16e5d06ef6c17bcc77c4a42a4d
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Mon Jun 30 09:55:24 2014 +0200
Upstream update.
- Reflect upstream having switched to ExtUtils::MakeMaker.
- Rework deps.
.gitignore | 2 +-
perl-Test-TCP.spec | 36 +++++++++++++++++++++++++++---------
sources | 2 +-
3 files changed, 29 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f546be6..6c22f9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Test-TCP-2.02.tar.gz
+/Test-TCP-2.05.tar.gz
diff --git a/perl-Test-TCP.spec b/perl-Test-TCP.spec
index 403bfff..da73a02 100644
--- a/perl-Test-TCP.spec
+++ b/perl-Test-TCP.spec
@@ -1,6 +1,6 @@
Name: perl-Test-TCP
-Version: 2.02
-Release: 3%{?dist}
+Version: 2.05
+Release: 1%{?dist}
Summary: Testing TCP program
License: GPL+ or Artistic
Group: Development/Libraries
@@ -11,11 +11,23 @@ Source0: http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-TCP-%{version
Patch0: Test-TCP-2.02-Wait-infinitely-if-max_wait-is-negative.patch
BuildArch: noarch
-BuildRequires: perl(Module::Build)
+BuildRequires: perl >= 0:5.008001
+BuildRequires: perl(base)
+BuildRequires: perl(Carp)
+BuildRequires: perl(Config)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(File::Which)
+BuildRequires: perl(IO::Socket::INET)
+BuildRequires: perl(POSIX)
+BuildRequires: perl(Socket)
+BuildRequires: perl(strict)
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(Test::SharedFork) >= 0.19
BuildRequires: perl(Time::HiRes)
-BuildRequires: perl(File::Which)
+BuildRequires: perl(warnings)
+
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@@ -26,17 +38,18 @@ Test::TCP is test utilities for TCP/IP program.
%patch0 -p1
%build
-%{__perl} Build.PL installdirs=vendor
-./Build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
%install
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
-./Build test
+make test
%files
%doc Changes README*
@@ -44,6 +57,11 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_mandir}/man3/*
%changelog
+* Mon Jun 30 2014 Ralf Corsépius <corsepiu at fedoraproject.org> - 2.05-1
+- Upstream update.
+- Reflect upstream having switched to ExtUtils::MakeMaker.
+- Rework deps.
+
* Fri Jun 27 2014 Petr Pisar <ppisar at redhat.com> - 2.02-3
- Fix a race in a test (bug #1113962)
diff --git a/sources b/sources
index ffc1433..f2c2ed3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9014b0858868530a0786ddf4b1c9b151 Test-TCP-2.02.tar.gz
+baa87fc1c981c5425514ccde7261718e Test-TCP-2.05.tar.gz
More information about the scm-commits
mailing list