[perl-Test-TCP] Upstream update.

corsepiu corsepiu at fedoraproject.org
Wed Apr 17 08:34:02 UTC 2013


commit 400fd7b30dd17314bbf688c8308b8ce197c531b2
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Wed Apr 17 10:33:55 2013 +0200

    Upstream update.
    
    - Reflect upstream having switched to perl(Module::Build).

 .gitignore         |    2 +-
 perl-Test-TCP.spec |   20 +++++++++++---------
 sources            |    2 +-
 3 files changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0a90284..efd9836 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Test-TCP-1.21.tar.gz
+/Test-TCP-1.26.tar.gz
diff --git a/perl-Test-TCP.spec b/perl-Test-TCP.spec
index c8aff15..666c6bf 100644
--- a/perl-Test-TCP.spec
+++ b/perl-Test-TCP.spec
@@ -1,5 +1,5 @@
 Name:           perl-Test-TCP
-Version:        1.21
+Version:        1.26
 Release:        1%{?dist}
 Summary:        Testing TCP program
 License:        GPL+ or Artistic
@@ -8,7 +8,7 @@ URL:            http://search.cpan.org/dist/Test-TCP/
 Source0:        http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-TCP-%{version}.tar.gz
 BuildArch:      noarch
 
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Test::More) >= 0.98
 BuildRequires:  perl(Test::SharedFork) >= 0.19
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -20,27 +20,29 @@ Test::TCP is test utilities for TCP/IP program.
 %setup -q -n Test-TCP-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor
+./Build
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-make test
+./Build test
 
 %files
 %defattr(-,root,root,-)
-%doc Changes README
+%doc Changes README*
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Apr 17 2013 Ralf Corsépius <corsepiu at fedoraproject.org> 1.26-1
+- Upstream update.
+- Reflect upstream having switched to perl(Module::Build).
+
 * Mon Mar 11 2013 Ralf Corsépius <corsepiu at fedoraproject.org> 1.21-1
 - Upstream update.
 - Drop Obs/Prov perl-Test-TCP-tests.
diff --git a/sources b/sources
index a467dcb..0860433 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-33b1d668fe41a8cadd25bf898bad037d  Test-TCP-1.21.tar.gz
+573eb3c848cb4ef0de5b0b46905da5b5  Test-TCP-1.26.tar.gz


More information about the scm-commits mailing list