From 917e2e47fc77552e521ea48ec4af5c5929084ec4bdd332b6ecdea95fa880e77c Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 11 Oct 2025 20:48:34 +0000 Subject: [PATCH] Accepting request 1310641 from devel:languages:perl - Normalize CPAN version See https://github.com/openSUSE/cpanspec/issues/47 for details OBS-URL: https://build.opensuse.org/request/show/1310641 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Exception-Class?expand=0&rev=19 --- README.md | 12 ++++++++++++ _scmsync.obsinfo | 5 +++++ build.specials.obscpio | 3 +++ perl-Exception-Class.changes | 6 ++++++ perl-Exception-Class.spec | 29 ++++++++++++++++++----------- 5 files changed, 44 insertions(+), 11 deletions(-) create mode 100644 README.md create mode 100644 _scmsync.obsinfo create mode 100644 build.specials.obscpio diff --git a/README.md b/README.md new file mode 100644 index 0000000..3524718 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ + +## Build Results + +Current state of perl in openSUSE:Factory is + +![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-Exception-Class/standard) + +The current state of perl in the devel project build (devel:languages:perl) + +![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-Exception-Class) + + diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..85e0bbb --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,5 @@ +mtime: 1760110773 +commit: 9028c5817390711c4e94d8a3876c25591369f9846022be85495bd197afeb08c1 +url: https://src.opensuse.org/perl/perl-Exception-Class.git +revision: 9028c5817390711c4e94d8a3876c25591369f9846022be85495bd197afeb08c1 +projectscmsync: https://src.opensuse.org/perl/_ObsPrj diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..cc78b9b --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:737c25a67bb42f2ff6c42f4861be52fc42237700123d13ae045847bb52b13719 +size 256 diff --git a/perl-Exception-Class.changes b/perl-Exception-Class.changes index c771604..7ddb10b 100644 --- a/perl-Exception-Class.changes +++ b/perl-Exception-Class.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Oct 10 15:39:19 UTC 2025 - Tina Müller + +- Normalize CPAN version + See https://github.com/openSUSE/cpanspec/issues/47 for details + ------------------------------------------------------------------- Mon May 3 03:08:27 UTC 2021 - Tina Müller diff --git a/perl-Exception-Class.spec b/perl-Exception-Class.spec index f76e368..57b8019 100644 --- a/perl-Exception-Class.spec +++ b/perl-Exception-Class.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Exception-Class # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,21 +18,27 @@ %define cpan_name Exception-Class Name: perl-Exception-Class -Version: 1.45 +Version: 1.450.0 Release: 0 -Summary: Module that allows you to declare real exception classes in Perl +# 1.45 -> normalize -> 1.450.0 +%define cpan_version 1.45 License: Artistic-1.0 OR GPL-1.0-or-later +Summary: Module that allows you to declare real exception classes in Perl URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml +Source100: README.md BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Class::Data::Inheritable) >= 0.02 -BuildRequires: perl(Devel::StackTrace) >= 2.00 +BuildRequires: perl(Class::Data::Inheritable) >= 0.20 +BuildRequires: perl(Devel::StackTrace) >= 2.0 BuildRequires: perl(Test::More) >= 0.96 -Requires: perl(Class::Data::Inheritable) >= 0.02 -Requires: perl(Devel::StackTrace) >= 2.00 +Requires: perl(Class::Data::Inheritable) >= 0.20 +Requires: perl(Devel::StackTrace) >= 2.0 +Provides: perl(Exception::Class) = %{version} +Provides: perl(Exception::Class::Base) = %{version} +%undefine __perllib_provides %{perl_requires} %description @@ -62,8 +68,9 @@ which is the default base class for all exception objects created by this module. %prep -%autosetup -n %{cpan_name}-%{version} -find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{cpan_version} -p1 + +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor @@ -78,7 +85,7 @@ make test %perl_gen_filelist %files -f %{name}.files -%doc azure-pipelines.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md precious.toml README.md +%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md %license LICENSE %changelog