commit 9448fcd62a0d78ff3d806558ec229b93c9b9bacf Author: Jose Pedro Oliveira <jpo@xxxxxxxxxxxx> Date: Fri Aug 12 01:47:11 2011 +0100 * First EPEL6 release (based on the F15 SRPM) .gitignore | 1 + perl-Test-TCP.spec | 20 +++++++++++--------- sources | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) --- diff --git a/.gitignore b/.gitignore index 9fa7b56..5c90c3f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /Test-TCP-1.13.tar.gz +/Test-TCP-1.11.tar.gz diff --git a/perl-Test-TCP.spec b/perl-Test-TCP.spec index 7853a69..22a5c7d 100644 --- a/perl-Test-TCP.spec +++ b/perl-Test-TCP.spec @@ -1,16 +1,17 @@ Name: perl-Test-TCP -Version: 1.13 -Release: 2%{?dist} +Version: 1.11 +Release: 2%{?dist}.1 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 +BuildRequires: perl(Time::HiRes) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # Get rid of perl-Test-TCP-tests @@ -28,6 +29,8 @@ 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 {} \; @@ -38,6 +41,9 @@ 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 @@ -45,12 +51,8 @@ make test %{_mandir}/man3/* %changelog -* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 1.13-2 -- Perl mass rebuild - -* Fri Jun 03 2011 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> 1.13-1 -- Upstream update. -- Spec file cleanup. +* Fri Aug 12 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.11-2.1 +- EPEL6: missing BR perl(Time::HiRes) * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 8e25c34..45a1e1d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fe152a1e66123b0de6779e0aa546ab34 Test-TCP-1.13.tar.gz +9dd3f0e3f4a8e2fb697180492418ac8c Test-TCP-1.11.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel