[perl-Test-TCP] Upstream update. Spec file cleanup.

corsepiu corsepiu at fedoraproject.org
Fri Jun 3 07:02:25 UTC 2011


commit 5d9aeb55cb1f498ba3f191ea8600e881e752b8d2
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Fri Jun 3 09:02:05 2011 +0200

    Upstream update.
    Spec file cleanup.

 .gitignore         |    3 +--
 perl-Test-TCP.spec |   15 +++++++--------
 sources            |    2 +-
 3 files changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d83ee12..9fa7b56 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-Test-TCP-0.16.tar.gz
-/Test-TCP-1.11.tar.gz
+/Test-TCP-1.13.tar.gz
diff --git a/perl-Test-TCP.spec b/perl-Test-TCP.spec
index a77d5af..ee98b6d 100644
--- a/perl-Test-TCP.spec
+++ b/perl-Test-TCP.spec
@@ -1,15 +1,15 @@
 Name:           perl-Test-TCP
-Version:        1.11
-Release:        2%{?dist}
+Version:        1.13
+Release:        1%{?dist}
 Summary:        Testing TCP program
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Test-TCP/
 Source0:        http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-TCP-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More) >= 0.98
 BuildRequires:  perl(Test::SharedFork) >= 0.14
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -28,8 +28,6 @@ Test::TCP is test utilities for TCP/IP program.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -40,9 +38,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
@@ -50,6 +45,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jun 03 2011 Ralf Corsépius <corsepiu at fedoraproject.org> 1.13-1
+- Upstream update.
+- Spec file cleanup.
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.11-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 45a1e1d..8e25c34 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9dd3f0e3f4a8e2fb697180492418ac8c  Test-TCP-1.11.tar.gz
+fe152a1e66123b0de6779e0aa546ab34  Test-TCP-1.13.tar.gz


More information about the scm-commits mailing list