|
|
|
@ -2,13 +2,12 @@
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
Name: perl-Test-Synopsis
|
|
|
|
|
Version: 0.15
|
|
|
|
|
Release: 14%{?dist}
|
|
|
|
|
Version: 0.16
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Test your SYNOPSIS code
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Test-Synopsis
|
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Synopsis-%{version}.tar.gz
|
|
|
|
|
Patch0: Test-Synopsis-0.15-spelling.patch
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Module Build
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
@ -51,7 +50,6 @@ BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
|
|
|
|
BuildRequires: perl(Test::Portability::Files)
|
|
|
|
|
BuildRequires: perl(Test::Spelling) >= 0.23, hunspell-en
|
|
|
|
|
BuildRequires: perl(Test::Version)
|
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
|
%endif
|
|
|
|
|
# Runtime
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
@ -68,10 +66,6 @@ sub) and doesn't actually run the code.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Test-Synopsis-%{version}
|
|
|
|
|
|
|
|
|
|
# Fix FTBFS with Test-Spelling 0.23
|
|
|
|
|
# https://github.com/genio/test-spelling/pull/10
|
|
|
|
|
%patch0
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
@ -98,7 +92,11 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
|
|
|
|
%{_mandir}/man3/Test::Synopsis.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri May 24 2019 aul Howarth <paul@city-fan.org> - 0.15-14
|
|
|
|
|
* Tue May 28 2019 Paul Howarth <paul@city-fan.org> - 0.16-1
|
|
|
|
|
- Update to 0.16
|
|
|
|
|
- Fix test failures when version 0.23 of Test::Spelling is in use (GH#21)
|
|
|
|
|
|
|
|
|
|
* Fri May 24 2019 Paul Howarth <paul@city-fan.org> - 0.15-14
|
|
|
|
|
- Simpler fix for FTBFS with Test::Spelling 0.23 (#1713565)
|
|
|
|
|
|
|
|
|
|
* Fri May 24 2019 Petr Pisar <ppisar@redhat.com> - 0.15-13
|
|
|
|
|