diff --git a/perltidy.spec b/perltidy.spec index a9ebc62..ba42a57 100644 --- a/perltidy.spec +++ b/perltidy.spec @@ -1,5 +1,5 @@ Name: perltidy -Version: 20180219 +Version: 20180220 Release: 1%{?dist} Summary: Tool for indenting and re-formatting Perl scripts License: GPLv2+ @@ -14,6 +14,7 @@ BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: sed # Module Runtime BuildRequires: perl(Carp) BuildRequires: perl(constant) @@ -62,6 +63,9 @@ rm examples/pt.bat # We'll ship the perltidy manpage in %%{_mandir} so we don't need another copy rm docs/perltidy.1 +# Quieten complaints about missing files +sed -i -e '/^examples\/pt\.bat/d; /^docs\/perltidy\.1/d' MANIFEST + # Remove unwanted exec permissions find examples/ lib/ -type f -perm /a+x -exec chmod -c -x {} \; @@ -90,6 +94,11 @@ make test %{_mandir}/man3/Perl::Tidy.3* %changelog +* Wed Feb 21 2018 Paul Howarth - 20180220-1 +- Update to 20180220 + - Fix index error causing perltidy to fail, resulting in empty files + (CPAN RT#124469, CPAN RT#124494) + * Mon Feb 19 2018 Paul Howarth - 20180219-1 - Update to 20180219 (see CHANGES for details) diff --git a/sources b/sources index 57480c6..a18d5e1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Perl-Tidy-20180219.tar.gz) = 9ab6af0205271e266c6fd227720aec6bf1d9e21437ae76d4cf99410fc3cf2a3960590f275c886c3b1527e3a3aa892c6cc2778220eb3b0902b5ed5bca695c70e7 +SHA512 (Perl-Tidy-20180220.tar.gz) = 93bdf2c18efdd9d62d5bb666ded9d9502a722370049a2a51f9d41107d7fa67acd91dfdd184a11eaab287f11a901ad686585e959f09407b0493719d19ce5d842e