public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Exception-Class] f45: Update to 1.46 (rhbz#2542263)
Date: Mon, 28 Sep 2026 09:01:07 GMT	[thread overview]
Message-ID: <179058606733.1.14377470062701523827.rpms-perl-Exception-Class-e041d1d96035@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/perl-Exception-Class
            Branch : f45
            Commit : e041d1d9603553d21b35c63ee7a42dc41cbcf0a3
            Author : Paul Howarth <paul@city-fan.org>
            Date   : 2026-09-28T09:53:00+01:00
            Stats  : +23/-7 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-Exception-Class/c/e041d1d9603553d21b35c63ee7a42dc41cbcf0a3?branch=f45

            Log:
            Update to 1.46 (rhbz#2542263)

- New upstream release 1.46
  - If you use Exception::Class to create a class whose module file is already
    loaded, it no longer overwrites the %INC entry for that module with the
    path to Exception/Class.pm; typically, this happens when you have a package
    that implements an exception with the same name as the package itself
    (GH#17)
  - Similarly, if a package defines a $VERSION, this is no longer overwritten
    when the exception class is defined with Exception::Class (GH#18)
- Use %{make_build} and %{make_install}
- Package GOVERNANCE.md, SECURITY.md and SUPPORT.md

---
diff --git a/perl-Exception-Class.rpmlintrc b/perl-Exception-Class.rpmlintrc
new file mode 100644
index 0000000..23b633e
--- /dev/null
+++ b/perl-Exception-Class.rpmlintrc
@@ -0,0 +1,3 @@
+# Suffix
+addFilter("spelling-error \('esque',")
+

diff --git a/perl-Exception-Class.spec b/perl-Exception-Class.spec
index e35fb11..5b9f66a 100644
--- a/perl-Exception-Class.spec
+++ b/perl-Exception-Class.spec
@@ -1,6 +1,6 @@
 Name:           perl-Exception-Class
-Version:        1.45
-Release:        15%{?dist}
+Version:        1.46
+Release:        1%{?dist}
 Summary:        Module that allows you to declare real exception classes in Perl
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/Exception-Class
@@ -8,7 +8,6 @@ Source0:        https://cpan.metacpan.org/modules/by-module/Exception/Exception-
 BuildArch:      noarch
 # Module Build
 BuildRequires:  coreutils
-BuildRequires:  findutils
 BuildRequires:  make
 BuildRequires:  perl-generators
 BuildRequires:  perl-interpreter
@@ -24,6 +23,8 @@ BuildRequires:  perl(strict)
 BuildRequires:  perl(warnings)
 # Test Suite
 BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(lib)
 BuildRequires:  perl(Test::More) >= 0.96
 # Optional Tests
 BuildRequires:  perl(CPAN::Meta) >= 2.120900
@@ -40,10 +41,10 @@ modules in a "Java-esque" manner.
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
-make %{?_smp_mflags}
+%{make_build}
 
 %install
-make install DESTDIR=%{buildroot}
+%{make_install}
 %{_fixperms} -c %{buildroot}
 
 %check
@@ -51,12 +52,24 @@ make test
 
 %files
 %license LICENSE
-%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
+%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md GOVERNANCE.md README.md SECURITY.md SUPPORT.md
 %{perl_vendorlib}/Exception/
 %{_mandir}/man3/Exception::Class.3*
 %{_mandir}/man3/Exception::Class::Base.3*
 
 %changelog
+* Mon Sep 28 2026 Paul Howarth <paul@city-fan.org> - 1.46-1
+- Update to 1.46 (rhbz#2542263)
+  - If you use Exception::Class to create a class whose module file is already
+    loaded, it no longer overwrites the %%INC entry for that module with the
+    path to Exception/Class.pm; typically, this happens when you have a package
+    that implements an exception with the same name as the package itself
+    (GH#17)
+  - Similarly, if a package defines a $VERSION, this is no longer overwritten
+    when the exception class is defined with Exception::Class (GH#18)
+- Use %%{make_build} and %%{make_install}
+- Package GOVERNANCE.md, SECURITY.md and SUPPORT.md
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.45-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index 20170ce..096b2d6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Exception-Class-1.45.tar.gz) = 8eff70c85c8f1cc9e1db2c47b5a815ef902fddd4989783b9fb7e84e3ce75776564cafddd3aedd2c86a5a8b9627021c9cfd094b95ec4956a60dd6703bba3eaf4d
+SHA512 (Exception-Class-1.46.tar.gz) = 38829574c67e720d6f570a98a7936b4314905884aa1649a47d70e2c8ddc80550685b071c25a11bb50b877c1ef9b837ecfb31eb4b484bcc98f10ab408d21d1604

                 reply	other threads:[~2026-09-28  9:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179058606733.1.14377470062701523827.rpms-perl-Exception-Class-e041d1d96035@fedoraproject.org \
    --to=paul@city-fan.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox