11
0

3 Commits

3 changed files with 40 additions and 19 deletions

12
README.md Normal file
View File

@@ -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-Module-Implementation/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-Module-Implementation)

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 20 11:17:22 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Mon Apr 13 16:52:38 UTC 2015 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-Implementation
#
# Copyright (c) 2015 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,30 +12,33 @@
# 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-Module-Implementation
Version: 0.09
Release: 0
%define cpan_name Module-Implementation
Summary: Loads one of several alternate underlying implementations for a module
Name: perl-Module-Implementation
Version: 0.90.0
Release: 0
# 0.09 -> normalize -> 0.90.0
%define cpan_version 0.09
License: Artistic-2.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-Implementation/
Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
Summary: Loads one of several alternate underlying implementations for a module
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{cpan_version}.tar.gz
Source100: README.md
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Runtime) >= 0.012
BuildRequires: perl(Test::Fatal) >= 0.006
BuildRequires: perl(Module::Runtime) >= 0.12
BuildRequires: perl(Test::Fatal) >= 0.6
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Requires)
BuildRequires: perl(Try::Tiny)
Requires: perl(Module::Runtime) >= 0.012
Requires: perl(Module::Runtime) >= 0.12
Requires: perl(Try::Tiny)
Provides: perl(Module::Implementation) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -50,14 +53,14 @@ time. If you want to load arbitrary implementations then you probably want
something like a plugin system, not this module.
%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
@@ -65,7 +68,7 @@ something like a plugin system, not this module.
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE README.md
%doc Changes README.md
%license LICENSE
%changelog