diff --git a/perl-Text-Soundex.spec b/perl-Text-Soundex.spec index 64fca0c..b4d94fb 100644 --- a/perl-Text-Soundex.spec +++ b/perl-Text-Soundex.spec @@ -1,35 +1,30 @@ Name: perl-Text-Soundex Version: 3.05 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Implementation of the soundex algorithm # The original license was (Copyright only). Since 3.05 somebody (RJBS?) # added Perl license but kept the original license text. License: (Copyright only) and (GPL+ or Artistic) -Group: Development/Libraries URL: http://search.cpan.org/dist/Text-Soundex/ Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Text-Soundex-%{version}.tar.gz -BuildRequires: coreutils BuildRequires: findutils +BuildRequires: gcc BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) # Run-time: # Carp not needed for tests -%if 0%(perl -e 'print $] > 5.016') BuildRequires: perl(deprecate) -%endif BuildRequires: perl(Exporter) BuildRequires: perl(if) # Text::Unidecode not needed for tests BuildRequires: perl(XSLoader) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Carp) -%if 0%(perl -e 'print $] > 5.016') Requires: perl(deprecate) -%endif Requires: perl(Text::Unidecode) %{?perl_default_filter} @@ -44,13 +39,12 @@ Soundex". %setup -q -n Text-Soundex-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" 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 -type f -name '*.bs' -size 0 -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -64,6 +58,9 @@ make test %{_mandir}/man3/* %changelog +* Wed Mar 07 2018 Petr Pisar - 3.05-9 +- Modernize spec file + * Fri Feb 09 2018 Fedora Release Engineering - 3.05-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild