8
0

Compare commits

...

14 Commits

Author SHA256 Message Date
47e0c80906 Accepting request 1288086 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/1288086
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Load?expand=0&rev=21
2025-06-24 18:48:45 +00:00
2716d32b29 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Class-Load?expand=0&rev=29
2025-06-23 21:45:00 +00:00
682de0af8a Accepting request 616706 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/616706
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Load?expand=0&rev=20
2018-06-29 20:26:24 +00:00
cc738e4b7f Accepting request 487657 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/487657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Load?expand=0&rev=19
2017-04-20 18:52:32 +00:00
e70e4c4473 Accepting request 314126 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/314126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Load?expand=0&rev=18
2015-06-30 08:18:24 +00:00
434ce3dd28 Accepting request 297346 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/297346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Load?expand=0&rev=17
2015-04-18 08:40:09 +00:00
Stephan Kulow
7a1dc12b3e Accepting request 221603 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/221603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Load?expand=0&rev=15
2014-02-11 09:56:15 +00:00
Stephan Kulow
3053b52c49 Accepting request 178392 from devel:languages:perl
- remove outdated patch perl-Class-Load-old_test_more.patch

OBS-URL: https://build.opensuse.org/request/show/178392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Load?expand=0&rev=13
2013-06-13 15:31:30 +00:00
Stephan Kulow
86e8d4ffdd Accepting request 177362 from devel:languages:perl
- updated to 0.20
  - The load_class() subroutine now returns the class name on success. Requested
    by Caleb Cushing. RT #76931.
  
  - Exceptions and errors from Class::Load no longer contain references to line
    numbers in Class::Load or Module::Runtime. This applies to exceptions thrown
    by load_class, load_first_existing_class, and load_optional_class, as well
    as the error returned by try_load_class.
  
  - Exceptions are now croaked properly so they appear to come from the calling
    code, not from an internal subroutine. This makes the exceptions look more
    like the ones thrown by Perl's require. RT #68663. (forwarded request 177281 from coolo)

OBS-URL: https://build.opensuse.org/request/show/177362
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Load?expand=0&rev=12
2013-06-05 15:48:42 +00:00
Stephan Kulow
de65b6189b Accepting request 108076 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/108076
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Load?expand=0&rev=9
2012-03-06 13:05:58 +00:00
Stephan Kulow
eea6ead04e Accepting request 106270 from devel:languages:perl
- updated to 0.18
 - Require Package::Stash 0.14+. Fixes RT#75095. Reported by Zefram.

OBS-URL: https://build.opensuse.org/request/show/106270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Load?expand=0&rev=8
2012-02-21 11:23:23 +00:00
Stephan Kulow
4856bc7fa8 Accepting request 104261 from devel:languages:perl
- updated to 0.17
 - A bug in Class::Load caused test failures when Module::Runtime 0.012 was
   used with Perl 5.8.x. Reported by Zefram. RT#74897. ( Jesse Luehrs )
 
 - Require Module::Runtime 0.012, which has a number of useful bug fixes.
 
 - Small test changes to accomodate latest version of
   Module::Implementation. There's no need to upgrade if you're already using
   0.14
 
 - Use Module::Implementation to handle loading the XS or PP versions of the
   code. Using this module fixes a few bugs.
 
 - Under taint mode, setting an implementation in the CLASS_LOAD_IMPLEMENTATION
   env var caused a taint error.
 
 - An invalid value in the CLASS_LOAD_IMPLEMENTATION env var is now detected
   and reported immediately. No attempt is made to load an invalid
   implementation.
 
 - Fix some bugs with our use of Try::Tiny. This could cause warnings on some
   systems with Class::Load::XS wasn't installed. Fixes RT#72345.

OBS-URL: https://build.opensuse.org/request/show/104261
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Load?expand=0&rev=7
2012-02-16 15:21:21 +00:00
Stephan Kulow
5a0d55d162 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Load?expand=0&rev=6
2011-12-06 17:38:42 +00:00
Stephan Kulow
d26673ef3a Accepting request 94309 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/94309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Load?expand=0&rev=5
2011-11-29 16:17:39 +00:00
2 changed files with 29 additions and 21 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 23 21:44:53 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Mon Jun 11 05:08:47 UTC 2018 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Class-Load
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -12,38 +12,41 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Class-Load
Version: 0.25
Release: 0
%define cpan_name Class-Load
Summary: Working (Require "Class::Name") and More
Name: perl-Class-Load
Version: 0.250.0
Release: 0
# 0.25 -> normalize -> 0.250.0
%define cpan_version 0.25
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Class-Load/
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Summary: Working (require "Class::Name") and more
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Data::OptList) >= 0.110
BuildRequires: perl(Module::Implementation) >= 0.04
BuildRequires: perl(Module::Runtime) >= 0.012
BuildRequires: perl(Package::Stash) >= 0.14
BuildRequires: perl(Module::Implementation) >= 0.40
BuildRequires: perl(Module::Runtime) >= 0.12
BuildRequires: perl(Package::Stash) >= 0.140
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Needs)
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(version)
Requires: perl(Data::OptList) >= 0.110
Requires: perl(Module::Implementation) >= 0.04
Requires: perl(Module::Runtime) >= 0.012
Requires: perl(Package::Stash) >= 0.14
Requires: perl(Module::Implementation) >= 0.40
Requires: perl(Module::Runtime) >= 0.12
Requires: perl(Package::Stash) >= 0.140
Requires: perl(Try::Tiny)
Provides: perl(Class::Load) = %{version}
Provides: perl(Class::Load::PP) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -61,14 +64,14 @@ any class for which the filename does not correspond to the package name.
For that, we provide 'is_class_loaded 'Class::Name''.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
@@ -76,7 +79,6 @@ For that, we provide 'is_class_loaded 'Class::Name''.
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING README
%license LICENSE