Compare commits

..

No commits in common. "c9s" and "c8s" have entirely different histories.
c9s ... c8s

5 changed files with 36 additions and 89 deletions

View File

@ -1 +0,0 @@
c4447afab088652f1de3d5b22fd42c16d58f5815 Perl-Tidy-20210111.tar.gz

19
Perl-Tidy-utf8.patch Normal file
View File

@ -0,0 +1,19 @@
--- CHANGES
+++ CHANGES
@@ -1548,14 +1548,14 @@ Perltidy Change Log
closing side comments (-csc) could have incorrect text. This is
annoying but will be correct the next time perltidy is run with -csc.
- -Implemented XHTML patch submitted by Ville Skyttä.
+ -Implemented XHTML patch submitted by Ville Skyttä.
-Fixed bug where whitespace was being removed between 'Bar' and '()'
in a use statement like:
use Foo::Bar ();
- Thanks to Ville Skyttä for reporting this.
+ Thanks to Ville Skyttä for reporting this.
-Whenever possible, if a logical expression is broken with leading
'&&', '||', 'and', or 'or', then the leading line will be padded

View File

@ -1,10 +1,11 @@
Name: perltidy Name: perltidy
Version: 20210111 Version: 20180220
Release: 4%{?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+
URL: http://perltidy.sourceforge.net/ URL: http://perltidy.sourceforge.net/
Source0: https://cpan.metacpan.org/modules/by-module/Perl/Perl-Tidy-%{version}.tar.gz Source0: http://www.cpan.org/modules/by-module/Perl/Perl-Tidy-%{version}.tar.gz
Patch0: Perl-Tidy-utf8.patch
BuildArch: noarch BuildArch: noarch
# Module Build # Module Build
BuildRequires: coreutils BuildRequires: coreutils
@ -19,7 +20,6 @@ BuildRequires: perl(Carp)
BuildRequires: perl(constant) BuildRequires: perl(constant)
BuildRequires: perl(Cwd) BuildRequires: perl(Cwd)
BuildRequires: perl(Data::Dumper) BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Encode) BuildRequires: perl(Encode)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(File::Basename) BuildRequires: perl(File::Basename)
@ -27,22 +27,17 @@ BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp) BuildRequires: perl(File::Temp)
BuildRequires: perl(Getopt::Long) BuildRequires: perl(Getopt::Long)
BuildRequires: perl(HTML::Entities)
BuildRequires: perl(IO::File) BuildRequires: perl(IO::File)
BuildRequires: perl(Pod::Html)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(vars) BuildRequires: perl(vars)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# Test Suite # Test Suite
BuildRequires: perl(FindBin) BuildRequires: perl(FindBin)
BuildRequires: perl(Test) BuildRequires: perl(Test)
BuildRequires: perl(Test::More)
BuildRequires: perl(utf8) BuildRequires: perl(utf8)
# Runtime # Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(File::Spec) Requires: perl(File::Spec)
Requires: perl(HTML::Entities)
Requires: perl(Pod::Html)
Provides: perl-Perl-Tidy = %{version}-%{release} Provides: perl-Perl-Tidy = %{version}-%{release}
%description %description
@ -59,11 +54,17 @@ because it is very good at localizing errors.
%prep %prep
%setup -q -n Perl-Tidy-%{version} %setup -q -n Perl-Tidy-%{version}
# Re-format documentation as UTF-8
%patch0
# Don't need Windows batch file # Don't need Windows batch file
rm examples/pt.bat 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 # Quieten complaints about missing files
sed -i -e '/^examples\/pt\.bat/d' MANIFEST 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 {} \;
@ -81,90 +82,18 @@ find %{buildroot} -type f -name .packlist -delete
make test make test
%files %files
%if 0%{?_licensedir:1}
%license COPYING %license COPYING
%doc BUGS.md CHANGES.md README.md docs/ examples/ %else
%doc COPYING
%endif
%doc BUGS CHANGES README TODO docs/ examples/
%{_bindir}/perltidy %{_bindir}/perltidy
%{perl_vendorlib}/Perl/ %{perl_vendorlib}/Perl/
%{_mandir}/man1/perltidy.1* %{_mandir}/man1/perltidy.1*
%{_mandir}/man3/Perl::Tidy.3* %{_mandir}/man3/Perl::Tidy.3*
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 20210111-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 20210111-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20210111-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jan 11 2021 Paul Howarth <paul@city-fan.org> - 20210111-1
- Update to 20210111 (see CHANGES.md for details)
- Use %%license unconditionally
* Mon Dec 7 2020 Paul Howarth <paul@city-fan.org> - 20201207-1
- Update to 20201207 (see CHANGES.md for details)
* Thu Dec 3 2020 Paul Howarth <paul@city-fan.org> - 20201202-1
- Update to 20201202 (see CHANGES.md for details)
* Tue Sep 29 2020 Paul Howarth <paul@city-fan.org> - 20201001-1
- Update to 20201001 (see CHANGES.md for details)
* Mon Sep 7 2020 Paul Howarth <paul@city-fan.org> - 20200907-1
- Update to 20200907 (see CHANGES.md for details)
* Sat Aug 22 2020 Paul Howarth <paul@city-fan.org> - 20200822-1
- Update to 20200822 (see CHANGES.md for details)
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200619-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 20200619-2
- Perl 5.32 rebuild
* Sat Jun 20 2020 Paul Howarth <paul@city-fan.org> - 20200619-1
- Update to 20200619 (see CHANGES.md for details)
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200110-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jan 10 2020 Paul Howarth <paul@city-fan.org> - 20200110-1
- Update to 20200110 (see CHANGES.md for details)
* Tue Dec 3 2019 Paul Howarth <paul@city-fan.org> - 20191203-1
- Update to 20191203 (see CHANGES.md for details)
* Sun Sep 15 2019 Paul Howarth <paul@city-fan.org> - 20190915-1
- Update to 20190915 (see CHANGES.md for details)
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20190601-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Jun 04 2019 Jitka Plesnikova <jplesnik@redhat.com> - 20190601-2
- Perl 5.30 re-rebuild updated packages
* Mon Jun 3 2019 Paul Howarth <paul@city-fan.org> - 20190601-1
- Update to 20190601 (see CHANGES.md for details)
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 20181120-3
- Perl 5.30 rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20181120-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Nov 19 2018 Paul Howarth <paul@city-fan.org> - 20181120-1
- Update to 20181120 (see CHANGES.md for details)
- Drop UTF-8 patch, no longer needed
- Text documentation converted to markdown upstream
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180220-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 20180220-2
- Perl 5.28 rebuild
* Wed Feb 21 2018 Paul Howarth <paul@city-fan.org> - 20180220-1 * Wed Feb 21 2018 Paul Howarth <paul@city-fan.org> - 20180220-1
- Update to 20180220 - Update to 20180220
- Fix index error causing perltidy to fail, resulting in empty files - Fix index error causing perltidy to fail, resulting in empty files

View File

@ -1 +1 @@
SHA512 (Perl-Tidy-20210111.tar.gz) = 96e308bf45540d5161ed7795ff9addeb051cf970ac203acd475a5d76a3f08b4a2a1f49603bbbf5da11b3717ab039e8c9caf81c6113888678547b31a2ac134294 SHA512 (Perl-Tidy-20180220.tar.gz) = 93bdf2c18efdd9d62d5bb666ded9d9502a722370049a2a51f9d41107d7fa67acd91dfdd184a11eaab287f11a901ad686585e959f09407b0493719d19ce5d842e