From a2a00c4cd6316aba2e9d58248b4a919851e203f5 Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Tue, 9 May 2006 17:19:22 +0000 Subject: [PATCH] Drop testmore patch. Catch Test::YAML module and man page in file list. --- perl-YAML-testmore054.patch | 15 --------------- perl-YAML.spec | 10 +++++++--- 2 files changed, 7 insertions(+), 18 deletions(-) delete mode 100644 perl-YAML-testmore054.patch diff --git a/perl-YAML-testmore054.patch b/perl-YAML-testmore054.patch deleted file mode 100644 index 67afbad..0000000 --- a/perl-YAML-testmore054.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- t/20load.t~ 2005-03-31 05:18:43.000000000 +0300 -+++ t/20load.t 2005-04-13 17:35:47.000000000 +0300 -@@ -1,7 +1,11 @@ - use lib 'lib', 't'; - use TestChunks; - plan tests => number_of_tests; --test_load; -+SKIP: { -+ Test::More::skip "This test hangs with Test::More < 0.54", number_of_tests -+ unless $Test::More::VERSION && $Test::More::VERSION >= 0.54; -+ test_load; -+}; - - __DATA__ - === diff --git a/perl-YAML.spec b/perl-YAML.spec index 3e3a961..5ae9378 100644 --- a/perl-YAML.spec +++ b/perl-YAML.spec @@ -1,12 +1,11 @@ Name: perl-YAML Version: 0.58 -Release: 1%{?dist} +Release: 2%{?dist} Summary: YAML Ain't Markup Language (tm) License: GPL or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/YAML/ Source0: http://www.cpan.org/authors/id/I/IN/INGY/YAML-%{version}.tar.gz -Patch0: %{name}-testmore054.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Test::Base) >= 0.49 @@ -23,7 +22,6 @@ specification. %prep %setup -q -n YAML-%{version} -%patch0 -p0 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -50,10 +48,16 @@ rm -rf $RPM_BUILD_ROOT %doc Changes README %{_bindir}/ysh %{perl_vendorlib}/YAML* +%{perl_vendorlib}/Test/YAML* %{_mandir}/man1/ysh.1* %{_mandir}/man3/YAML*.3* +%{_mandir}/man3/Test::YAML*.3* %changelog +* Tue May 09 2006 Steven Pritchard 0.58-2 +- Drop testmore patch. +- Catch Test::YAML module and man page in file list. + * Thu May 04 2006 Steven Pritchard 0.58-1 - Update to 0.58. - Small spec cleanups.