|
|
@ -1,5 +1,5 @@
|
|
|
|
Name: perltidy
|
|
|
|
Name: perltidy
|
|
|
|
Version: 20180219
|
|
|
|
Version: 20180220
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Tool for indenting and re-formatting Perl scripts
|
|
|
|
Summary: Tool for indenting and re-formatting Perl scripts
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
@ -14,6 +14,7 @@ BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
|
|
|
BuildRequires: sed
|
|
|
|
# Module Runtime
|
|
|
|
# Module Runtime
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
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
|
|
|
|
# We'll ship the perltidy manpage in %%{_mandir} so we don't need another copy
|
|
|
|
rm docs/perltidy.1
|
|
|
|
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
|
|
|
|
# Remove unwanted exec permissions
|
|
|
|
find examples/ lib/ -type f -perm /a+x -exec chmod -c -x {} \;
|
|
|
|
find examples/ lib/ -type f -perm /a+x -exec chmod -c -x {} \;
|
|
|
|
|
|
|
|
|
|
|
@ -90,6 +94,11 @@ make test
|
|
|
|
%{_mandir}/man3/Perl::Tidy.3*
|
|
|
|
%{_mandir}/man3/Perl::Tidy.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Feb 21 2018 Paul Howarth <paul@city-fan.org> - 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 <paul@city-fan.org> - 20180219-1
|
|
|
|
* Mon Feb 19 2018 Paul Howarth <paul@city-fan.org> - 20180219-1
|
|
|
|
- Update to 20180219 (see CHANGES for details)
|
|
|
|
- Update to 20180219 (see CHANGES for details)
|
|
|
|
|
|
|
|
|
|
|
|