From 188705de1cb45217bf4c37998e9a014d9ea0a787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 24 May 2019 10:40:25 +0200 Subject: [PATCH] Correct a spelling test --- ...15-Whitelist-Mengu-for-spell-checker.patch | 42 +++++++++++++++++++ perl-Test-Synopsis.spec | 9 +++- 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 Test-Synopsis-0.15-Whitelist-Mengu-for-spell-checker.patch diff --git a/Test-Synopsis-0.15-Whitelist-Mengu-for-spell-checker.patch b/Test-Synopsis-0.15-Whitelist-Mengu-for-spell-checker.patch new file mode 100644 index 0000000..a3e8c88 --- /dev/null +++ b/Test-Synopsis-0.15-Whitelist-Mengu-for-spell-checker.patch @@ -0,0 +1,42 @@ +From cf4a5f17e1fdece8a28d256ef9b5c0689cb40f10 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +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ř +--- + 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 + diff --git a/perl-Test-Synopsis.spec b/perl-Test-Synopsis.spec index 62a7c2b..930303b 100644 --- a/perl-Test-Synopsis.spec +++ b/perl-Test-Synopsis.spec @@ -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, +# +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 - 0.15-13 +- Correct a spelling test (bug #1713565) + * Sat Feb 02 2019 Fedora Release Engineering - 0.15-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild