Sync from SUSE:SLFO:Main perl-Module-Implementation revision 1d4b508111943d82a6e91ec1b9674568
This commit is contained in:
commit
ee9a4b3ade
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
Module-Implementation-0.09.tar.gz
(Stored with Git LFS)
Normal file
BIN
Module-Implementation-0.09.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
61
perl-Module-Implementation.changes
Normal file
61
perl-Module-Implementation.changes
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 13 16:52:38 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.09
|
||||||
|
see /usr/share/doc/packages/perl-Module-Implementation/Changes
|
||||||
|
|
||||||
|
0.09 2014-08-24
|
||||||
|
|
||||||
|
- Backed out the Sub::Name change in 0.08. It was pointed out to me by Graham
|
||||||
|
Knop that adding an XS dependency for a module that's often used to pick
|
||||||
|
between XS and non-XS implementations doesn't work so well.
|
||||||
|
|
||||||
|
|
||||||
|
0.08 2014-08-24
|
||||||
|
|
||||||
|
- Subroutines copied from an implementation package into the loading package
|
||||||
|
are now renamed using Sub::Name. This causes them to be considered part of
|
||||||
|
the loading package, which is important for things like
|
||||||
|
namespace::autoclean. Reported by Karen Etheridge. RT #98097.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 26 06:54:25 UTC 2014 - lchiquitto@suse.com
|
||||||
|
|
||||||
|
- really remove old old_test_more.patch from package sources
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 26 05:28:35 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.07
|
||||||
|
- Require Test::Fatal 0.006+ to avoid test failures. Reported by Salve
|
||||||
|
Nilsen. RT #76809.
|
||||||
|
- remove old old_test_more.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 9 15:11:01 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.06
|
||||||
|
- Require Module::Runtime 0.012 which has a number of useful bug fixes.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 29 18:55:38 CET 2012 - ro@suse.de
|
||||||
|
|
||||||
|
- fix build with old Test::More for sle11
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 10 12:58:44 UTC 2012 - vcizek@suse.com
|
||||||
|
|
||||||
|
- update to 0.05
|
||||||
|
- Make Test::Taint an optional dependency. This module requires XS, and
|
||||||
|
requiring a compiler for Module::Implementation defeats its
|
||||||
|
purpose. Reported by Peter Rabbitson. RT #74817.
|
||||||
|
- This module no longer installs an _implementation() subroutine in
|
||||||
|
callers. Instead, you can call
|
||||||
|
Module::Implementation::implementation_for($package) to get the
|
||||||
|
implementation used for a given package.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 8 15:39:02 UTC 2012 - vcizek@suse.com
|
||||||
|
|
||||||
|
- version 0.03 (initial package )
|
||||||
|
|
71
perl-Module-Implementation.spec
Normal file
71
perl-Module-Implementation.spec
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-Module-Implementation
|
||||||
|
#
|
||||||
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
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
|
||||||
|
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(Test::More) >= 0.88
|
||||||
|
BuildRequires: perl(Test::Requires)
|
||||||
|
BuildRequires: perl(Try::Tiny)
|
||||||
|
Requires: perl(Module::Runtime) >= 0.012
|
||||||
|
Requires: perl(Try::Tiny)
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module abstracts out the process of choosing one of several underlying
|
||||||
|
implementations for a module. This can be used to provide XS and pure Perl
|
||||||
|
implementations of a module, or it could be used to load an implementation
|
||||||
|
for a given OS or any other case of needing to provide multiple
|
||||||
|
implementations.
|
||||||
|
|
||||||
|
This module is only useful when you know all the implementations ahead of
|
||||||
|
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}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%defattr(-,root,root,755)
|
||||||
|
%doc Changes LICENSE README.md
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user