#
# Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # unit tests
#
%define pdir Test
%define pnam Spelling
Summary: Test::Spelling - check for spelling errors in POD files
Summary(pl.UTF-8): Test::Spelling - sprawdzanie plików POD pod kątem błędów pisowni
Name: perl-Test-Spelling
-Version: 0.19
+Version: 0.25
Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 32ac3fcbd8f4f80a8b035c15feaab353
-URL: http://search.cpan.org/dist/Test-Spelling/
+# Source0-md5: 5267be55736620cf8c45765e346a58cc
+URL: https://metacpan.org/release/Test-Spelling
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
%if %{with tests}
BuildRequires: perl-IPC-Run3 >= 0.044
BuildRequires: perl-Pod-Spell >= 1.01