Correct a spelling test

epel9
Petr Písař 6 years ago
parent 49d102b10b
commit 188705de1c

@ -0,0 +1,42 @@
From cf4a5f17e1fdece8a28d256ef9b5c0689cb40f10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Fri, 24 May 2019 10:28:31 +0200
Subject: [PATCH] =?UTF-8?q?Whitelist=20Mengu=C3=A9=20for=20spell=20checker?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
After upgrading Test-Spelling from 0.22 to 0.23 a new error emrged:
not ok 1 - POD spelling for lib/Test/Synopsis.pm
# Failed test 'POD spelling for lib/Test/Synopsis.pm'
# at xt/author/pod-spell.t line 11.
# Errors:
# Mengu
#
# All incorrect words, by number of occurrences:
# 1: Mengu
# Looks like you failed 1 test of 1.
This patch adds Mengué to the stopwords.
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
lib/Test/Synopsis.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/Test/Synopsis.pm b/lib/Test/Synopsis.pm
index 2e69d14..5abbae6 100644
--- a/lib/Test/Synopsis.pm
+++ b/lib/Test/Synopsis.pm
@@ -168,6 +168,7 @@ __END__
=for stopwords Goro blogged Znet Zoffix DOHERTY Doherty
KRYDE Ryde ZOFFIX Gr nauer Grünauer pm HEREDOC HEREDOCs DROLSKY
+ Mengué
=for test_synopsis $main::for_checked=1
--
2.20.1

@ -3,11 +3,14 @@
Name: perl-Test-Synopsis
Version: 0.15
Release: 12%{?dist}
Release: 13%{?dist}
Summary: Test your SYNOPSIS code
License: GPL+ or Artistic
URL: https://metacpan.org/release/Test-Synopsis
Source0: https://cpan.metacpan.org/authors/id/Z/ZO/ZOFFIX/Test-Synopsis-%{version}.tar.gz
# Correct a spelling test, bug #1713565,
# <https://github.com/miyagawa/test-synopsis/pull/21>
Patch0: Test-Synopsis-0.15-Whitelist-Mengu-for-spell-checker.patch
BuildArch: noarch
# Module Build
BuildRequires: coreutils
@ -65,6 +68,7 @@ sub) and doesn't actually run the code.
%prep
%setup -q -n Test-Synopsis-%{version}
%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
@ -93,6 +97,9 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%{_mandir}/man3/Test::Synopsis.3*
%changelog
* Fri May 24 2019 Petr Pisar <ppisar@redhat.com> - 0.15-13
- Correct a spelling test (bug #1713565)
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save