diff --git a/perltidy.rpmlintrc b/perltidy.rpmlintrc deleted file mode 100644 index f5540d6..0000000 --- a/perltidy.rpmlintrc +++ /dev/null @@ -1,3 +0,0 @@ -from Config import * - -addFilter("spelling-error %description -l en_US Perltidy -> ") diff --git a/perltidy.spec b/perltidy.spec index 642835e..48ead80 100644 --- a/perltidy.spec +++ b/perltidy.spec @@ -1,6 +1,6 @@ Name: perltidy -Version: 20211029 -Release: 2%{?dist} +Version: 20220215 +Release: 1%{?dist} Summary: Tool for indenting and re-formatting Perl scripts License: GPLv2+ URL: http://perltidy.sourceforge.net/ @@ -45,6 +45,12 @@ 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,6 +95,10 @@ make test %{_mandir}/man3/Perl::Tidy.3* %changelog +* 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 diff --git a/sources b/sources index 7e4dc4d..b78ae6f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Perl-Tidy-20211029.tar.gz) = a164a986b840be19090ed661b94179dfb1acf36ac95e30e886fc28f93fa0a418d83c99cec7ee7443b2bf276fe517018df53847b2045490cc8dfb0640d702d8ba +SHA512 (Perl-Tidy-20220215.tar.gz) = fadd605bb1441a23e1afa8b45eec4a48389b87cc72082664fdbb48399fbc67f820c4a0395defd415a050c8ab5828a952299cb76812fe0908a5f56147d70425f8