Compare commits

...

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

6 changed files with 89 additions and 40 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/*.tar.*
SOURCES/Perl-Tidy-20210111.tar.gz

1
.perltidy.metadata Normal file
View File

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

View File

@ -1,3 +0,0 @@
from Config import *
addFilter("spelling-error %description -l en_US Perltidy -> ")

View File

@ -1,19 +0,0 @@
--- 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,11 +1,10 @@
Name: perltidy
Version: 20180220
Release: 1%{?dist}
Version: 20210111
Release: 4%{?dist}
Summary: Tool for indenting and re-formatting Perl scripts
License: GPLv2+
URL: http://perltidy.sourceforge.net/
Source0: http://www.cpan.org/modules/by-module/Perl/Perl-Tidy-%{version}.tar.gz
Patch0: Perl-Tidy-utf8.patch
Source0: https://cpan.metacpan.org/modules/by-module/Perl/Perl-Tidy-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: coreutils
@ -20,6 +19,7 @@ BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(Cwd)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Basename)
@ -27,17 +27,22 @@ BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(HTML::Entities)
BuildRequires: perl(IO::File)
BuildRequires: perl(Pod::Html)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(FindBin)
BuildRequires: perl(Test)
BuildRequires: perl(Test::More)
BuildRequires: perl(utf8)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(File::Spec)
Requires: perl(HTML::Entities)
Requires: perl(Pod::Html)
Provides: perl-Perl-Tidy = %{version}-%{release}
%description
@ -54,17 +59,11 @@ because it is very good at localizing errors.
%prep
%setup -q -n Perl-Tidy-%{version}
# Re-format documentation as UTF-8
%patch0
# Don't need Windows batch file
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
sed -i -e '/^examples\/pt\.bat/d' MANIFEST
# Remove unwanted exec permissions
find examples/ lib/ -type f -perm /a+x -exec chmod -c -x {} \;
@ -82,18 +81,90 @@ find %{buildroot} -type f -name .packlist -delete
make test
%files
%if 0%{?_licensedir:1}
%license COPYING
%else
%doc COPYING
%endif
%doc BUGS CHANGES README TODO docs/ examples/
%doc BUGS.md CHANGES.md README.md docs/ examples/
%{_bindir}/perltidy
%{perl_vendorlib}/Perl/
%{_mandir}/man1/perltidy.1*
%{_mandir}/man3/Perl::Tidy.3*
%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
- Update to 20180220
- Fix index error causing perltidy to fail, resulting in empty files

View File

@ -1 +0,0 @@
SHA512 (Perl-Tidy-20180220.tar.gz) = 93bdf2c18efdd9d62d5bb666ded9d9502a722370049a2a51f9d41107d7fa67acd91dfdd184a11eaab287f11a901ad686585e959f09407b0493719d19ce5d842e