@ -1,9 +1,8 @@
Name: perl-Spellunker
Version: 0.2.3
Release: 5 %{?dist}
Version: 0.4.0
Release: 1 %{?dist}
Summary: Pure perl spelling checker implementation
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Spellunker/
Source0: http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Spellunker-v%{version}.tar.gz
BuildArch: noarch
@ -23,6 +22,7 @@ BuildRequires: perl(constant)
BuildRequires: perl(File::ShareDir)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(parent)
BuildRequires: perl(Pod::Simple::Methody)
BuildRequires: perl(Regexp::Common)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Term::ANSIColor)
@ -31,7 +31,7 @@ BuildRequires: perl(version)
# test only
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(open)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::More) >= 0.96
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Win32::Console::ANSI\\)$
@ -43,24 +43,44 @@ Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%setup -q -n Spellunker-v%{version}
%build
perl Build.PL installdirs=vendor
perl Build.PL -- installdirs=vendor
./Build
%install
./Build install destdir=%{buildroot} create_packlist=0
%{_fixperms} %{buildroot}/*
./Build install -- destdir=%{buildroot} -- create_packlist=0
%{_fixperms} %{buildroot}
%check
./Build test
%files
%doc Changes LICENSE README.md
%{_bindir}/*
%{perl_vendorlib}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
%license LICENSE
%doc Changes README.md
%{_bindir}/spellunker
%{_bindir}/spellunker-pod
%{perl_vendorlib}/Spellunker.pm
%{perl_vendorlib}/Spellunker/
%{perl_vendorlib}/Test/
%{perl_vendorlib}/auto/share/dist/Spellunker/
%{_mandir}/man1/spellunker.1*
%{_mandir}/man1/spellunker-pod.1*
%{_mandir}/man3/Spellunker.3*
%{_mandir}/man3/Test::Spellunker.3*
%changelog
* Tue Nov 18 2014 Paul Howarth <paul@city-fan.org> - 0.4.0-1
- Update to 0.4.0
- Added more stopwords
- Support &
- Show correct test line number if all_pod_files_spelling_ok fails
- Documentation fixes
- Test "bin" and "script" directories if "blib" does not exist
- Allow git sha1 hash
- Fix overly-recursive regex
- Added clear_stopwords method
- Use %%license
- Make %%files list more explicit
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.2.3-5
- Perl 5.20 rebuild