rpms/perl-Data-Dump-Streamer/devel t-madness.patch, NONE, 1.1 perl-Data-Dump-Streamer.spec, 1.3, 1.4

Iain Arnell iarnell at fedoraproject.org
Fri Jun 12 14:56:10 UTC 2009


Author: iarnell

Update of /cvs/pkgs/rpms/perl-Data-Dump-Streamer/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24753

Modified Files:
	perl-Data-Dump-Streamer.spec 
Added Files:
	t-madness.patch 
Log Message:
* Fri Jun 12 2009 Iain Arnell <iarnell at gmail.com> 2.09-2
- fix FTBFS by patching t/madness.t (due to rt #44610)


t-madness.patch:

--- NEW FILE t-madness.patch ---
diff -up Data-Dump-Streamer-2.09/t/madness.t.orig Data-Dump-Streamer-2.09/t/madness.t
--- Data-Dump-Streamer-2.09/t/madness.t.orig	2009-06-12 16:50:09.343385762 +0200
+++ Data-Dump-Streamer-2.09/t/madness.t	2009-06-12 16:50:19.376389596 +0200
@@ -258,7 +258,7 @@ _EOF_FORMAT_
            OBJ => bless( qr/("[^"]+")/, 'Zorp' ),
            PV  => 'string',
            PV8 => "ab\ncd\x{20ac}\t",
-           PVM => 'Bad file descriptor',
+           PVM => '',
            RV  => \do { my $v = undef },
            UND => undef
          };


Index: perl-Data-Dump-Streamer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Data-Dump-Streamer/devel/perl-Data-Dump-Streamer.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- perl-Data-Dump-Streamer.spec	4 Apr 2009 11:48:15 -0000	1.3
+++ perl-Data-Dump-Streamer.spec	12 Jun 2009 14:55:39 -0000	1.4
@@ -1,6 +1,6 @@
 Name:           perl-Data-Dump-Streamer
 Version:        2.09
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Accurately serialize a data structure as Perl code
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -21,6 +21,9 @@ Requires:       perl(MIME::Base64)
 Requires:       perl(PadWalker)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+# http://rt.cpan.org/Public/Bug/Display.html?id=44610
+Patch0:         t-madness.patch
+
 %description
 Given a list of scalars or reference variables, writes out their contents
 in perl syntax. The references can also be objects. The contents of each
@@ -30,6 +33,7 @@ output correctly.
 
 %prep
 %setup -q -n Data-Dump-Streamer-%{version}
+%patch0 -p1
 find . -type f | xargs chmod -x
 
 # Strip out private provides/requires
@@ -79,6 +83,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jun 12 2009 Iain Arnell <iarnell at gmail.com> 2.09-2
+- fix FTBFS by patching t/madness.t (due to rt #44610)
+
 * Sat Apr 04 2009 Iain Arnell <iarnell at gmail.com> 2.09-1
 - update to latest upstream
 




More information about the Fedora-perl-devel-list mailing list