From 2601ad9035b355d68fdcb16a0933a97f961eb479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= ppisar@redhat.com Date: Thu, 22 Dec 2016 14:14:33 +0100 Subject: Remove bogus print
--- ...mpdir-0.100-Remove-a-stray-debugging-code.patch | 33 ++++++++++++++++++++++ perl-MooseX-Role-Tempdir.spec | 8 +++++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 MooseX-Role-Tempdir-0.100-Remove-a-stray-debugging-code.patch
diff --git a/MooseX-Role-Tempdir-0.100-Remove-a-stray-debugging-code.patch b/MooseX-Role-Tempdir-0.100-Remove-a-stray-debugging-code.patch new file mode 100644 index 0000000..fedc996 --- /dev/null +++ b/MooseX-Role-Tempdir-0.100-Remove-a-stray-debugging-code.patch @@ -0,0 +1,33 @@ +From 244b0377a9d8421b60e1fdb314ce847e39480236 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= ppisar@redhat.com +Date: Thu, 22 Dec 2016 14:05:28 +0100 +Subject: [PATCH] Remove a stray debugging code +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +There was a stray debugging code that interfered with TAP. + +CPAN RT#119368 + +Signed-off-by: Petr Písař ppisar@redhat.com +--- + lib/MooseX/Role/Tempdir.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/MooseX/Role/Tempdir.pm b/lib/MooseX/Role/Tempdir.pm +index 7af2bcc..2c3202a 100644 +--- a/lib/MooseX/Role/Tempdir.pm ++++ b/lib/MooseX/Role/Tempdir.pm +@@ -44,7 +44,7 @@ role { + ) + } + } +- print "ok then\n"; ++ #print "ok then\n"; + #my $p = shift; + #my $opts = $p->tmpdir_opts(); + #for my $dir (@{$p->dirs()}) { +-- +2.7.4 + diff --git a/perl-MooseX-Role-Tempdir.spec b/perl-MooseX-Role-Tempdir.spec index 27f50fb..57809da 100644 --- a/perl-MooseX-Role-Tempdir.spec +++ b/perl-MooseX-Role-Tempdir.spec @@ -1,10 +1,12 @@ Name: perl-MooseX-Role-Tempdir Version: 0.100 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Moose role to provide temporary directories License: ISC URL: http://search.cpan.org/dist/MooseX-Role-Tempdir/ Source0: http://www.cpan.org/authors/id/I/IA/IAMB/MooseX-Role-Tempdir-%%7Bversion%7D.... +# Remove bogus print, bug #1348230, CPAN RT#119368 +Patch0: MooseX-Role-Tempdir-0.100-Remove-a-stray-debugging-code.patch BuildArch: noarch # Build BuildRequires: perl @@ -32,6 +34,7 @@ creation/destruction.
%prep %setup -q -n MooseX-Role-Tempdir-%{version} +%patch0 -p1
%build %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 @@ -51,6 +54,9 @@ make test %{_mandir}/man3/MooseX*
%changelog +* Thu Dec 22 2016 Petr Pisar ppisar@redhat.com - 0.100-3 +- Remove bogus print (bug #1348230) + * Wed Jun 22 2016 Jitka Plesnikova jplesnik@redhat.com - 0.100-2 - License changed to 'ISC License'
perl-devel@lists.fedoraproject.org