[perl-Spellunker] Update to 0.4.0
Paul Howarth
pghmcfc at fedoraproject.org
Tue Nov 18 10:20:24 UTC 2014
commit 9a5b02eb395b3678c2ccb5d143aeaff3584c9212
Author: Paul Howarth <paul at city-fan.org>
Date: Tue Nov 18 10:19:29 2014 +0000
Update to 0.4.0
- New upstream release 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
.gitignore | 2 +-
perl-Spellunker.spec | 44 ++++++++++++++++++++++++++++++++------------
sources | 2 +-
3 files changed, 34 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3b9de69..4ef3b77 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Spellunker-v0.2.3.tar.gz
+/Spellunker-v[0-9.]*.tar.gz
diff --git a/perl-Spellunker.spec b/perl-Spellunker.spec
index 1b64bff..fca8750 100644
--- a/perl-Spellunker.spec
+++ b/perl-Spellunker.spec
@@ -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 at 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 at redhat.com> - 0.2.3-5
- Perl 5.20 rebuild
diff --git a/sources b/sources
index bb09b86..42e00d0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a3e2f3cdcaed09f2df6486f898fdd83a Spellunker-v0.2.3.tar.gz
+d0d46dbf91353a9656eae6ec827ccf7d Spellunker-v0.4.0.tar.gz
More information about the perl-devel
mailing list