Sync from SUSE:ALP:Source:Standard:1.0 perl-Module-Pluggable revision d65f502c18655c2bf45c27898cb1413b

This commit is contained in:
Adrian Schröter 2023-05-17 14:45:14 +02:00
commit 81b82c810c
5 changed files with 238 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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-Pluggable-5.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

23
cpanspec.yml Normal file
View File

@ -0,0 +1,23 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: perl(Module::Build)
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@ -0,0 +1,123 @@
-------------------------------------------------------------------
Sat Aug 8 08:48:49 UTC 2015 - coolo@suse.com
- updated to 5.2
see /usr/share/doc/packages/perl-Module-Pluggable/Changes
2015-08-05 - 5.2
Use Module::Runtime if it's installed (thanks to Olivier Mengué)
Switch to using ExtUtils::MakeMaker (thanks to Karen Etheridge and Tim Orling)
-------------------------------------------------------------------
Fri Jun 26 06:02:58 UTC 2015 - coolo@suse.com
- regenerate spec to fix build
-------------------------------------------------------------------
Sun Apr 20 21:24:45 UTC 2014 - mardnh@gmx.de
- Update to 5.1:
- 2014-01-05 - 5.1
- Add in missing files left out of the MANIFEST due to stupidity
(thanks to Petr Pisar)
- 2013-12-20 - 5.0
- Gain support for @INC hooks and hence for App::FatPacker
(thanks to Diab Jerius)
- 2013-10-22 - 4.9
- Fix the fact that we can't handle single letter package names
(thanks sbaynes)
- 2013-05-27 - 4.8
- Fix some typos (David Steinbrunner)
- Fix error in testing when Text::BibTex is installed
(thanks to Andreas Koenig)
- 2013-02-25 - 4.7
- Fix more hash ordering bugs in tests by forcing sort of returned plugins
(Yves Orton)
- 2013-01-23 - 4.6
- Add warning about future removal from core
- 2012-11-05 - 4.5
- Fix docs
- Fix problem with PAUSE upload
- 2012-11-05 - 4.4
- Fix hash ordering bug in tests (Yves Orton)
- Fix install dir (Tatsuhiko Miyagawa)
- 2012-08-15 - 4.3
- Fix calling the correct method when instantiating (Doh!)
- Hopefully stop smoker failures
- 2012-08-14 - 4.2
- Fix a problem with installation directory (Jerry D. Hedden)
- 2012-07-20 - 4.1
- Allow triggers on events which gives a powerful way to modify behaviour
(Tim Brody, Dan Dascalescu, Paul Evans, Jens Rehsack)
- Put documentation in about behaviour under blib and test, allow searching
outside blib under test (suggestion from Stephen Baynes)
- Made following symlinks the default behaviour, added ability to turn
that off (Aran Deltac)
- Fix installation path (Matthias Dietrich, Todd Rinaldo)
- Allow min_depth and max_depth (as per suggestion from Jens Rehsack)
- Set our @INC up to include and prefer our search_dirs if necessary
(as per suggestion from Ian Goodacre)
- Switch to Module::Build
- 2012-01-03 - 4.0
Don't use defined on an array (it's deprecated)
-------------------------------------------------------------------
Sun Aug 30 14:42:21 CEST 2009 - lars@linux-schulserver.de
- Update to 3.9:
+ Allow inner packages when in a one file situation
(suggestion from Christopher Brown)
+ Fix bug with requiring skipped packages (from Jos Boumans)
- follow perl packaging guidelines
- fix the filelist instead using rpmlintrc
-------------------------------------------------------------------
Wed Jan 21 15:48:28 CET 2009 - pth@suse.de
- Update to 3.8
Changes since 3.5:
- Set INSTALLDIRS correctly in Makefile.PL
- A couple of other fixups to play nicely in Core
- Ignore editor cruft by default
- Doc patches
- Prevent prototype mismatch warnings under Error.pm
- Don't pick up the ::SUPER pseudo stash in 5.8
- Make things work under VOS
- Fix warning under Devel::Cover
- Make tests run under Taint again
- Get rid of Build.PL
-------------------------------------------------------------------
Mon Jan 14 14:35:12 CET 2008 - pth@suse.de
- Fix file list.
- Add a rpmlintrc.
-------------------------------------------------------------------
Wed Mar 7 15:15:36 CET 2007 - pth@suse.de
- Update to 3.5
* Patch from Audrey Tang to prevent clobbering of $@
* Make sure we don't fail taint checking when other
Module::Pluggable::* modules are installed.
* Few more patches from Jos Boumans to get read for CORE
* Remove Class::Inspector dependency and inline code
* Prepare for assimilation into CORE
-------------------------------------------------------------------
Thu Oct 19 17:02:02 CEST 2006 - pth@suse.de
- Initial package

View File

@ -0,0 +1,66 @@
#
# spec file for package perl-Module-Pluggable
#
# 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-Pluggable
Version: 5.2
Release: 0
%define cpan_name Module-Pluggable
Summary: Automatically Give Your Module the Ability to Have Plugins
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-Pluggable/
Source0: http://www.cpan.org/authors/id/S/SI/SIMONW/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
Recommends: perl(Module::Runtime) >= 0.012
%{perl_requires}
%description
Provides a simple but, hopefully, extensible way of having 'plugins' for
your module. Obviously this isn't going to be the be all and end all of
solutions but it works for me.
Essentially all it does is export a method into your namespace that looks
through a search path for .pm files and turn those into class names.
Optionally it instantiates those classes for you.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%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 README
%changelog