From 2ba5c5ccfb663b80f030263905ec91cde7098c8e48c84dce74698278338c2a6b Mon Sep 17 00:00:00 2001 From: cpanmirror Date: Tue, 13 Jan 2026 05:45:00 +0000 Subject: [PATCH] Automatic update to Perl-Critic-Policy-Variables-ProhibitLoopOnHash-0.009.tar.gz --- ...-Variables-ProhibitLoopOnHash-0.008.tar.gz | 3 --- ...-Variables-ProhibitLoopOnHash-0.009.tar.gz | 3 +++ ...olicy-Variables-ProhibitLoopOnHash.changes | 11 ++++++++ ...c-Policy-Variables-ProhibitLoopOnHash.spec | 25 ++++++++++--------- 4 files changed, 27 insertions(+), 15 deletions(-) delete mode 100644 Perl-Critic-Policy-Variables-ProhibitLoopOnHash-0.008.tar.gz create mode 100644 Perl-Critic-Policy-Variables-ProhibitLoopOnHash-0.009.tar.gz diff --git a/Perl-Critic-Policy-Variables-ProhibitLoopOnHash-0.008.tar.gz b/Perl-Critic-Policy-Variables-ProhibitLoopOnHash-0.008.tar.gz deleted file mode 100644 index d4d3f93..0000000 --- a/Perl-Critic-Policy-Variables-ProhibitLoopOnHash-0.008.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12f5f0be96ea1bdc7828058577bd1c5c63ca23c17fac9c3709452b3dff5b84e0 -size 14416 diff --git a/Perl-Critic-Policy-Variables-ProhibitLoopOnHash-0.009.tar.gz b/Perl-Critic-Policy-Variables-ProhibitLoopOnHash-0.009.tar.gz new file mode 100644 index 0000000..89a47a6 --- /dev/null +++ b/Perl-Critic-Policy-Variables-ProhibitLoopOnHash-0.009.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce4a334de0927fc45dcb35edfc81be6381528a528195b2f877304aa83d761ea5 +size 8353 diff --git a/perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash.changes b/perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash.changes index 847d03a..44fa573 100644 --- a/perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash.changes +++ b/perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Jan 13 05:44:59 UTC 2026 - Tina Müller + +- updated to 0.9.0 (0.009) + see /usr/share/doc/packages/perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash/Changes + + 0.009 2026-01-12 09:57:39+01:00 Europe/Amsterdam + + * Don't crash on `for my $foo @bar {...}`. (Graham @haarg Knop) + * License is now MIT. + ------------------------------------------------------------------- Tue Apr 23 05:21:43 UTC 2019 - Stephan Kulow diff --git a/perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash.spec b/perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash.spec index 3f1f8c9..436e96e 100644 --- a/perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash.spec +++ b/perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,19 +16,19 @@ # -Name: perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash -Version: 0.008 -Release: 0 %define cpan_name Perl-Critic-Policy-Variables-ProhibitLoopOnHash +Name: perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash +Version: 0.9.0 +Release: 0 +# 0.009 -> normalize -> 0.9.0 +%define cpan_version 0.009 +License: MIT Summary: Don't write loops on hashes, only on keys and values of hashes -License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml Source100: README.md BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(List::Util) >= 1.33 @@ -37,6 +37,8 @@ BuildRequires: perl(parent) Requires: perl(List::Util) >= 1.33 Requires: perl(Perl::Critic) >= 1.126 Requires: perl(parent) +Provides: perl(Perl::Critic::Policy::Variables::ProhibitLoopOnHash) = %{version} +%undefine __perllib_provides %{perl_requires} %description @@ -58,11 +60,11 @@ An effort is made to detect expressions: found a variation of it in real code.) %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} -p1 %build perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %check make test @@ -73,7 +75,6 @@ make test %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README %license LICENSE -- 2.51.1