diff --git a/.gitignore b/.gitignore index e7d6d6d..13ed2c7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/Perl-Tidy-20210111.tar.gz +SOURCES/Perl-Tidy-20230309.tar.gz diff --git a/.perltidy.metadata b/.perltidy.metadata index b70c402..595537d 100644 --- a/.perltidy.metadata +++ b/.perltidy.metadata @@ -1 +1 @@ -c4447afab088652f1de3d5b22fd42c16d58f5815 SOURCES/Perl-Tidy-20210111.tar.gz +00d565cc8b44080c5235ee4563a1196df448f1bb SOURCES/Perl-Tidy-20230309.tar.gz diff --git a/SPECS/perltidy.spec b/SPECS/perltidy.spec index 13e4e20..a60cf72 100644 --- a/SPECS/perltidy.spec +++ b/SPECS/perltidy.spec @@ -1,8 +1,8 @@ Name: perltidy -Version: 20210111 -Release: 4%{?dist} +Version: 20230309 +Release: 1%{?dist} Summary: Tool for indenting and re-formatting Perl scripts -License: GPLv2+ +License: GPL-2.0-or-later URL: http://perltidy.sourceforge.net/ Source0: https://cpan.metacpan.org/modules/by-module/Perl/Perl-Tidy-%{version}.tar.gz BuildArch: noarch @@ -21,6 +21,7 @@ BuildRequires: perl(Cwd) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Digest::MD5) BuildRequires: perl(Encode) +BuildRequires: perl(English) BuildRequires: perl(Exporter) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Copy) @@ -29,6 +30,7 @@ BuildRequires: perl(File::Temp) BuildRequires: perl(Getopt::Long) BuildRequires: perl(HTML::Entities) BuildRequires: perl(IO::File) +BuildRequires: perl(List::Util) BuildRequires: perl(Pod::Html) BuildRequires: perl(strict) BuildRequires: perl(vars) @@ -39,12 +41,17 @@ 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} +# EL-7's dependency generator picks up things from documentation that it shouldn't do, +# though strangely the one in F-19 does not, despite both being rpm 4.11.3 +%if 0%{?el7} +%global __requires_exclude ^perl[(]([*]?[{}]|[)])?[)] +%endif + %description Perltidy is a Perl script that indents and re-formats Perl scripts to make them easier to read. If you write Perl scripts, or spend much @@ -89,12 +96,59 @@ make test %{_mandir}/man3/Perl::Tidy.3* %changelog -* Mon Aug 09 2021 Mohan Boddu - 20210111-4 -- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Related: rhbz#1991688 +* Wed Sep 27 2023 Arkady L. Shane - 20230309-1 +- Rebuilt for MSVSphere 9.2 + +* Thu Mar 9 2023 Paul Howarth - 20230309-1 +- Update to 20230309 (see CHANGES.md for details) (rhbz#2176557) + +* Fri Jan 20 2023 Fedora Release Engineering - 20221112-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Nov 11 2022 Paul Howarth - 20221112-1 +- Update to 20221112 (rhbz#2142076) + - Fix undef warning in Perl before 5.12 (CPAN RT#145095) + +* Thu Nov 10 2022 Paul Howarth - 20221111-1 +- Update to 20221111 (see CHANGES.md for details) (rhbz#2141765) +- Use SPDX-format license tag + +* Fri Jul 22 2022 Fedora Release Engineering - 20220613-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Paul Howarth - 20220613-1 +- Update to 20220613 (see CHANGES.md for details) + +* Tue May 31 2022 Jitka Plesnikova - 20220217-2 +- Perl 5.36 rebuild + +* Tue Feb 15 2022 Paul Howarth - 20220217-1 +- Update to 20220217 (see CHANGES.md for details) -* Fri Apr 16 2021 Mohan Boddu - 20210111-3 -- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 +* Tue Feb 15 2022 Paul Howarth - 20220215-1 +- Update to 20220215 (see CHANGES.md for details) +- Add workaround for bogus dependencies generated on EL-7 + +* Fri Jan 21 2022 Fedora Release Engineering - 20211029-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Oct 29 2021 Paul Howarth - 20211029-1 +- Update to 20211029 (see CHANGES.md for details) + +* Fri Jul 23 2021 Fedora Release Engineering - 20210717-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sat Jul 17 2021 Paul Howarth - 20210717-1 +- Update to 20210717 (see CHANGES.md for details) + +* Thu Jun 24 2021 Paul Howarth - 20210625-1 +- Update to 20210625 (see CHANGES.md for details) + +* Fri May 21 2021 Jitka Plesnikova - 20210402-2 +- Perl 5.34 rebuild + +* Thu Apr 1 2021 Paul Howarth - 20210402-1 +- Update to 20210402 (see CHANGES.md for details) * Wed Jan 27 2021 Fedora Release Engineering - 20210111-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild @@ -270,6 +324,9 @@ make test - Update to 20130922. - Fix for CVE-2014-2277 from Debian (#1074721) + related man page fix. - Fix bogus date in %%changelog. +* Wed Sep 27 2023 Arkady L. Shane - 20230309-1 +- Rebuilt for MSVSphere 9.2 + * Sun Aug 04 2013 Fedora Release Engineering - 20121207-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild