commit f29a4f3564929047f19b2c193fe68c89bbaaf498 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Fri Mar 30 14:38:06 2012 +0200 0.18 bump .gitignore | 1 + ...Client-0.18-Do-not-use-Term-ReadLine-Perl.patch | 32 +++++++++++++++++ perl-Debug-Client.spec | 36 +++++++++++++++----- sources | 2 +- 4 files changed, 61 insertions(+), 10 deletions(-) --- diff --git a/.gitignore b/.gitignore index 8ce7351..fa25dab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ Debug-Client-0.11.tar.gz /Debug-Client-0.16.tar.gz +/Debug-Client-0.18.tar.gz diff --git a/Debug-Client-0.18-Do-not-use-Term-ReadLine-Perl.patch b/Debug-Client-0.18-Do-not-use-Term-ReadLine-Perl.patch new file mode 100644 index 0000000..1c87044 --- /dev/null +++ b/Debug-Client-0.18-Do-not-use-Term-ReadLine-Perl.patch @@ -0,0 +1,32 @@ +From 9a7d6b0096bc106ffc7f72629d3575745b1a9be1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@xxxxxxxxxx> +Date: Fri, 30 Mar 2012 14:33:34 +0200 +Subject: [PATCH] Do not use Term::ReadLine::Perl + +Tests fail with this implementation. +--- + t/01-Debug-Client.t | 3 +-- + 1 files changed, 1 insertions(+), 2 deletions(-) + +diff --git a/t/01-Debug-Client.t b/t/01-Debug-Client.t +index e4f792b..e125c18 100644 +--- a/t/01-Debug-Client.t ++++ b/t/01-Debug-Client.t +@@ -1,13 +1,12 @@ + use 5.008006; + use Test::More; +-plan( tests => 43 ); ++plan( tests => 42 ); + + use_ok( 'Carp', '1.23' ); + use_ok( 'IO::Socket', '1.31' ); + use_ok( 'IO::Socket::INET', '1.31' ); + use_ok( 'PadWalker', '1.92' ); + use_ok( 'Term::ReadLine', '1.07' ); +-use_ok( 'Term::ReadLine::Perl', '1.0303' ); + + use_ok( 'Test::More', '0.98' ); + use_ok( 'Test::Deep', '0.108' ); +-- +1.7.7.6 + diff --git a/perl-Debug-Client.spec b/perl-Debug-Client.spec index 90f1703..2b5d9f0 100644 --- a/perl-Debug-Client.spec +++ b/perl-Debug-Client.spec @@ -1,25 +1,41 @@ Name: perl-Debug-Client -Version: 0.16 +Version: 0.18 Release: 1%{?dist} Summary: Client side code for perl debugger License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Debug-Client/ Source0: http://search.cpan.org/CPAN/authors/id/B/BO/BOWTIE/Debug-Client-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +# Tests fail with Term::ReadLine::Perl +Patch0: Debug-Client-0.18-Do-not-use-Term-ReadLine-Perl.patch BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(File::HomeDir) -BuildRequires: perl(PadWalker) -BuildRequires: perl(Test::Deep) +BuildRequires: perl(inc::Module::Install::DSL) >= 1.04 +# Run-time +BuildRequires: perl(Carp) >= 1.23 +BuildRequires: perl(IO::Socket) >= 1.31 +# Tests only +BuildRequires: perl(File::HomeDir) >= 0.98 +BuildRequires: perl(PadWalker) >= 1.92 +# Tests fail with perl(Term::ReadLine::Perl) = 1.0303. It's not needed. +BuildRequires: perl(Test::Class) >= 0.36 +BuildRequires: perl(Test::Deep) >= 0.108 BuildRequires: perl(Test::More) >= 0.47 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Carp) >= 1.23 +Requires: perl(IO::Socket) >= 1.31 + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Carp|IO::Socket\\)$ %description Client side module for debugging. This module is part of padre's debugger. %prep %setup -q -n Debug-Client-%{version} +%patch0 -p1 +# Removed bundled EE::MM +rm -r inc +sed -i -e '/^inc\//d' MANIFEST %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -27,21 +43,23 @@ make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT - find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files -%doc Changes +%doc Changes eg %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Thu Mar 15 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 0.18-1 +- 0.18 bump +- Correct dependencies + * Wed Jan 25 2012 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 0.16-1 - update to 0.16 - clean specfile diff --git a/sources b/sources index 5e09e87..c3a60a7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2f85645a4388040c2eb601303c4c0a9e Debug-Client-0.16.tar.gz +a4391fb6e3a837fc6441d819e67a7ac5 Debug-Client-0.18.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