| |
@@ -1,25 +1,23 @@
|
| |
Name: perl-Lingua-EN-Syllable
|
| |
Epoch: 1
|
| |
- Version: 0.30
|
| |
- Release: 18%{?dist}
|
| |
+ Version: 0.31
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Routine for estimating syllable count in words
|
| |
- License: GPL+ or Artistic
|
| |
+ License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
| |
URL: https://metacpan.org/release/Lingua-EN-Syllable
|
| |
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/Lingua-EN-Syllable-%{version}.tar.gz
|
| |
BuildArch: noarch
|
| |
BuildRequires: coreutils
|
| |
- BuildRequires: findutils
|
| |
BuildRequires: make
|
| |
BuildRequires: perl-interpreter
|
| |
BuildRequires: perl-generators
|
| |
- BuildRequires: perl(ExtUtils::MakeMaker)
|
| |
+ BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
| |
BuildRequires: perl(strict)
|
| |
BuildRequires: perl(warnings)
|
| |
# Run-time:
|
| |
BuildRequires: perl(Exporter)
|
| |
# Tests:
|
| |
BuildRequires: perl(Test::More) >= 0.88
|
| |
- Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
| |
|
| |
%description
|
| |
Lingua::EN::Syllable::syllable() estimates the number of syllables in the
|
| |
@@ -29,14 +27,12 @@
|
| |
%setup -q -n Lingua-EN-Syllable-%{version}
|
| |
|
| |
%build
|
| |
- %{__perl} Makefile.PL INSTALLDIRS=vendor
|
| |
- make %{?_smp_mflags}
|
| |
+ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
| |
+ %{make_build}
|
| |
|
| |
%install
|
| |
- rm -rf $RPM_BUILD_ROOT
|
| |
- make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
| |
- find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
| |
- %{_fixperms} $RPM_BUILD_ROOT/*
|
| |
+ %{make_install}
|
| |
+ %{_fixperms} %{buildroot}
|
| |
|
| |
%check
|
| |
make test
|
| |
@@ -44,10 +40,13 @@
|
| |
%files
|
| |
%license LICENSE
|
| |
%doc Changes README
|
| |
- %{perl_vendorlib}/*
|
| |
- %{_mandir}/man3/*
|
| |
+ %{perl_vendorlib}/Lingua/EN/Syllable.pm
|
| |
+ %{_mandir}/man3/Lingua::EN::Syllable.3pm.*
|
| |
|
| |
%changelog
|
| |
+ * Mon May 22 2023 Michal Josef Špaček <mspacek@redhat.com> - 1:0.31-1
|
| |
+ - 0.31 bump
|
| |
+
|
| |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.30-18
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
| |
|
| |