diff --git a/perl-Text-ASCIITable.spec b/perl-Text-ASCIITable.spec index 48aeae2..184f73b 100644 --- a/perl-Text-ASCIITable.spec +++ b/perl-Text-ASCIITable.spec @@ -1,18 +1,19 @@ Name: perl-Text-ASCIITable Version: 0.22 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Create a nice formatted table using ASCII characters License: GPL+ or Artistic URL: https://metacpan.org/release/Text-ASCIITable Source0: https://cpan.metacpan.org/authors/id/L/LU/LUNATIC/Text-ASCIITable-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(Carp) BuildRequires: perl(Encode) BuildRequires: perl(Exporter) BuildRequires: perl(List::Util) BuildRequires: perl(Module::Build) >= 0.27 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version)) %description Pretty nifty if you want to output dynamic text to your console or other @@ -21,21 +22,16 @@ human-readable, or "cool" way. %prep %setup -q -n Text-ASCIITable-%{version} -for i in ansi-example.pl META.yml README t/*; do +for i in ansi-example.pl lib/Text/ASCIITable/Wrap.pm t/*; do iconv -f iso8859-1 -t utf-8 $i > $i.conv && mv -f $i.conv $i done %build -perl Build.PL installdirs=vendor +/usr/bin/perl Build.PL installdirs=vendor ./Build %install ./Build install destdir=%{buildroot} create_packlist=0 -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; -cd %{buildroot}%{_mandir}/man3/ -for i in Text::ASCIITable::Wrap.3pm Text::ASCIITable.3pm ; do - iconv -f iso8859-1 -t utf-8 $i > $i.conv && mv -f $i.conv $i -done %{_fixperms} %{buildroot}/* %check @@ -43,10 +39,14 @@ done %files %doc Changes README ansi-example.pl -%{perl_vendorlib}/* -%{_mandir}/man3/* +%{perl_vendorlib}/Text* +%{_mandir}/man3/Text* %changelog +* Fri Apr 17 2020 Emmanuel Seyman - 0.22-12 +- Use /usr/bin/perl instead of %%{__perl} +- Fix list of files still in latin1 charset + * Thu Jan 30 2020 Fedora Release Engineering - 0.22-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild