[perl-Lingua-EN-Inflect-Phrase] 0.18 bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 538d4bb0e9c2b7066d4eb195b87f1bfc36f14075
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Wed Nov 26 15:35:10 2014 +0100

    0.18 bump
    
    - Modernize spec

 .gitignore                         |    1 +
 perl-Lingua-EN-Inflect-Phrase.spec |   46 ++++++++++++++++++++++-------------
 sources                            |    2 +-
 3 files changed, 31 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4a284f9..4869a5e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /Lingua-EN-Inflect-Phrase-0.11.tar.gz
 /Lingua-EN-Inflect-Phrase-0.12.tar.gz
 /Lingua-EN-Inflect-Phrase-0.13.tar.gz
+/Lingua-EN-Inflect-Phrase-0.18.tar.gz
diff --git a/perl-Lingua-EN-Inflect-Phrase.spec b/perl-Lingua-EN-Inflect-Phrase.spec
index 059c096..8a44ced 100644
--- a/perl-Lingua-EN-Inflect-Phrase.spec
+++ b/perl-Lingua-EN-Inflect-Phrase.spec
@@ -1,21 +1,32 @@
 Name:           perl-Lingua-EN-Inflect-Phrase
-Version:        0.13
-Release:        6%{?dist}
+Version:        0.18
+Release:        1%{?dist}
 Summary:        Inflect short English Phrases
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Lingua-EN-Inflect-Phrase/
 Source0:        http://www.cpan.org/authors/id/R/RK/RKITOVER/Lingua-EN-Inflect-Phrase-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Lingua::EN::Inflect) >= 1.891
-BuildRequires:  perl(Lingua::EN::Inflect::Number) >= 1.1
-BuildRequires:  perl(Lingua::EN::Tagger) >= 0.20
-BuildRequires:  perl(Test::More) >= 0.94
-Requires:       perl(Lingua::EN::Inflect) >= 1.891
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Runtime
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Lingua::EN::FindNumber)
+BuildRequires:  perl(Lingua::EN::Inflect)
+BuildRequires:  perl(Lingua::EN::Inflect::Number)
+BuildRequires:  perl(Lingua::EN::Number::IsOrdinal)
+BuildRequires:  perl(Lingua::EN::Tagger)
+# Tests only
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::NoWarnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 
-%?perl_default_filter
 
 %description
 Attempts to pluralize or singularize short English phrases.
@@ -24,26 +35,27 @@ Attempts to pluralize or singularize short English phrases.
 %setup -q -n Lingua-EN-Inflect-Phrase-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
+%license LICENSE
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Nov 26 2014 Petr Šabata <contyk@xxxxxxxxxx> - 0.18-1
+- 0.18 bump
+- Modernize spec
+
 * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.13-6
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 38ef34d..e48f66b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4df51c5a21935393dc054280ee416663  Lingua-EN-Inflect-Phrase-0.13.tar.gz
+6e6ac3451913946ca93e0ebfd4881e52  Lingua-EN-Inflect-Phrase-0.18.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux