Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Perl-Tidy for openSUSE:Factory checked in at 2023-09-13 20:43:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Perl-Tidy (Old) and /work/SRC/openSUSE:Factory/.perl-Perl-Tidy.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Perl-Tidy" Wed Sep 13 20:43:33 2023 rev:43 rq:1110670 version:20230909.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Perl-Tidy/perl-Perl-Tidy.changes 2023-07-12 17:26:42.818271340 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Perl-Tidy.new.1766/perl-Perl-Tidy.changes 2023-09-13 20:43:56.716760683 +0200 @@ -1,0 +2,60 @@ +Sat Sep 9 03:08:04 UTC 2023 - Tina Müller <timueller+p...@suse.de> + +- updated to 20230909 + see /usr/share/doc/packages/perl-Perl-Tidy/CHANGES.md + + ## 2023 09 09 + - Added new parameters -wme, or --warn-missing-else, and -ame, + or --add-missing else. The parameter -wme tells perltidy to issue + a warning if an if-elsif-... chain does not end in an else block. + The parameter -ame tells perltidy to insert an else block at the + end of such a chain if there is none. + For example, given the following snippet: + if ( $level == 3 ) { $val = $global{'section'} } + elsif ( $level == 2 ) { $val = $global{'chapter'} } + # perltidy -ame + if ( $level == 3 ) { $val = $global{'section'} } + elsif ( $level == 2 ) { $val = $global{'chapter'} } + else { + ##FIXME - added with perltidy -ame + } + The resulting code should be carefully reviewed, and the ##FIXME comment + should be updated as appropriate. The text of the ##FIXME comment can be + changed with parameter -amec=s, where 's' is the comment to mark the new + else block. The man pages have more details. + - The syntax of the parameter --use-feature=class, or -uf=class, which + new in the previous release, has been changed slightly for clarity. + The default behavior, which occurs if this flag is not entered, is + to automatically try to handle both old and new uses of the keywords + 'class', 'method', 'field', and 'ADJUST'. + To force these keywords to only follow the -use feature 'class' syntax, + enter --use-feature=class. + To force perltidy to ignore the -use feature 'class' syntax, enter + --use-feature=noclass. + - Issue git #122. Added parameter -lrt=n1:n2, or --line-range-tidy=n1:n2 + to limit tidy operations to a limited line range. Line numbers start + with 1. This parameter is mainly of interest to editing programs which + drive perltidy. The man pages have details. + - Some fairly rare instances of incorrect spacing have been fixed. The + problem was that the tokenizer being overly conservative in marking + terms as possible filehandles or indirect objects. This causes the space + after the possible filehandle to be frozen to its input value in order not + to introduce an error in case Perl had to guess. The problem was fixed + by having the tokenizer look ahead for operators which can eliminate the + uncertainty. To illustrate, in the following line the term ``$d`` was + previously marked as a possible filehandle, so no space was added after it. + print $d== 1 ? " [ON]\n" : $d ? " [$d]\n" : "\n"; + ^ + In the current version, the next token is seen to be an equality, so + ``$d`` is marked as an ordinary identifier and normal spacing rules + can apply: + print $d == 1 ? " [ON]\n" : $d ? " [$d]\n" : "\n"; + ^ + - This version runs 7 to 10 percent faster than the previous release on + large files, depending on options and file type. Much of the gain comes + from streamlined I/O operations. + - This version was stress-tested for many cpu hours with random + input parameters. No failures to converge, internal fault checks, + undefined variable references or other irregularities were seen. + +------------------------------------------------------------------- Old: ---- Perl-Tidy-20230701.tar.gz New: ---- Perl-Tidy-20230909.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Perl-Tidy.spec ++++++ --- /var/tmp/diff_new_pack.sllGtd/_old 2023-09-13 20:43:58.088809461 +0200 +++ /var/tmp/diff_new_pack.sllGtd/_new 2023-09-13 20:43:58.088809461 +0200 @@ -18,17 +18,33 @@ %define cpan_name Perl-Tidy Name: perl-Perl-Tidy -Version: 20230701 +Version: 20230909.0.0 Release: 0 +%define cpan_version 20230909 #Upstream: GPL-1.0-or-later License: GPL-2.0-or-later Summary: Indent and reformat perl scripts URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/S/SH/SHANCOCK/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/S/SH/SHANCOCK/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros +Provides: perl(Perl::Tidy) = 20230909.0.0 +Provides: perl(Perl::Tidy::Debugger) = 20230909.0.0 +Provides: perl(Perl::Tidy::Diagnostics) = 20230909.0.0 +Provides: perl(Perl::Tidy::FileWriter) = 20230909.0.0 +Provides: perl(Perl::Tidy::Formatter) = 20230909.0.0 +Provides: perl(Perl::Tidy::HtmlWriter) = 20230909.0.0 +Provides: perl(Perl::Tidy::IOScalar) = 20230909.0.0 +Provides: perl(Perl::Tidy::IOScalarArray) = 20230909.0.0 +Provides: perl(Perl::Tidy::IndentationItem) = 20230909.0.0 +Provides: perl(Perl::Tidy::Logger) = 20230909.0.0 +Provides: perl(Perl::Tidy::Tokenizer) = 20230909.0.0 +Provides: perl(Perl::Tidy::VerticalAligner) = 20230909.0.0 +Provides: perl(Perl::Tidy::VerticalAligner::Alignment) = 20230909.0.0 +Provides: perl(Perl::Tidy::VerticalAligner::Line) = 20230909.0.0 +%define __perllib_provides /bin/true %{perl_requires} %description @@ -48,7 +64,7 @@ HANDLING section. %prep -%autosetup -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 ++++++ Perl-Tidy-20230701.tar.gz -> Perl-Tidy-20230909.tar.gz ++++++ ++++ 12084 lines of diff (skipped)