commit ca26cf8a5558e8dc811b72226bfec4d3c9aed8b0 Author: Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Sun Jan 9 13:27:41 2011 +0100 - Update to 1.11. - Rework spec. - Abandon *-tests. .gitignore | 1 + perl-Test-TCP.spec | 54 ++++++++++++++++++++++++--------------------------- sources | 2 +- 3 files changed, 27 insertions(+), 30 deletions(-) --- diff --git a/.gitignore b/.gitignore index 4792ca6..d83ee12 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Test-TCP-0.16.tar.gz +/Test-TCP-1.11.tar.gz diff --git a/perl-Test-TCP.spec b/perl-Test-TCP.spec index 608d87c..400851c 100644 --- a/perl-Test-TCP.spec +++ b/perl-Test-TCP.spec @@ -1,31 +1,24 @@ Name: perl-Test-TCP -Summary: TCP program testing utilities -Version: 0.16 -Release: 3%{?dist} +Version: 1.11 +Release: 1%{?dist} +Summary: Testing TCP program License: GPL+ or Artistic Group: Development/Libraries -Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-TCP-%{version}.tar.gz -URL: http://search.cpan.org/dist/Test-TCP +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) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 -BuildRequires: perl(Filter::Util::Call) -BuildRequires: perl(IO::Socket::INET) >= 1.31 -BuildRequires: perl(Test::More) -BuildRequires: perl(Test::SharedFork) >= 0.09 -BuildRequires: perl(YAML) - -# note versioning -Requires: perl(IO::Socket::INET) >= 1.31 -Requires: perl(Test::SharedFork) >= 0.09 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::SharedFork) >= 0.14 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -%{?perl_default_filter} -%{?perl_default_subpackage_tests} +# Get rid of perl-Test-TCP-tests +Obsoletes: perl-Test-TCP-tests < %{version}-%{release} +Provides: perl-Test-TCP-tests = %{version}-%{release} %description -Test::TCP provides utilities to assist in testing TCP/IP programs. +Test::TCP is test utilities for TCP/IP program. %prep %setup -q -n Test-TCP-%{version} @@ -35,28 +28,33 @@ Test::TCP provides utilities to assist in testing TCP/IP programs. make %{?_smp_mflags} %install -rm -rf %{buildroot} +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; -%{_fixperms} %{buildroot}/* +%{_fixperms} $RPM_BUILD_ROOT/* %check make test - %clean -rm -rf %{buildroot} +rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* -%{_mandir}/man3/*.3* +%{_mandir}/man3/* %changelog +* Sun Jan 09 2011 Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> 1.11-1 +- Update to 1.11. +- Rework spec. +- Abandon *-tests. + * Wed Dec 22 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.16-3 - 661697 rebuild for fixing problems with vendorach/lib @@ -65,5 +63,3 @@ rm -rf %{buildroot} * Sat Mar 20 2010 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.16-1 - specfile by Fedora::App::MaintainerTools 0.006 - - diff --git a/sources b/sources index 985eacc..45a1e1d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -803ebb2e4770d8634d8a60ce147abcf8 Test-TCP-0.16.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