- updated to 6.300.0 (6.3)

see /usr/share/doc/packages/perl-Module-Pluggable/Changes
  2025-01-10 - 6.3
      Fix make_path() in t/29unreadable.t. (thanks to Michal Josef Špaček @michal-josef-spacek)
      Fix t/29unreadable.t tests failing as root. (thanks to Michal Josef Špaček @michal-josef-spacek)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Pluggable?expand=0&rev=14
This commit is contained in:
Tina Müller 2025-01-17 00:03:42 +00:00 committed by Git OBS Bridge
commit 977b49065d
8 changed files with 281 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

BIN
Module-Pluggable-5.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2743f1cb59c2cac21bf14f0f71beab5ced75a589394a1fd8ac09ecc71599299e
size 28427

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58512bb9c654746d0937770b98b559b30872d85ac24073485e5830890dd1b2a0
size 29053

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,155 @@
-------------------------------------------------------------------
Sat Jan 11 05:31:35 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 6.300.0 (6.3)
see /usr/share/doc/packages/perl-Module-Pluggable/Changes
2025-01-10 - 6.3
Fix make_path() in t/29unreadable.t. (thanks to Michal Josef Špaček @michal-josef-spacek)
Fix t/29unreadable.t tests failing as root. (thanks to Michal Josef Špaček @michal-josef-spacek)
-------------------------------------------------------------------
Fri Oct 25 05:36:42 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 6.200.0 (6.2)
see /usr/share/doc/packages/perl-Module-Pluggable/Changes
2024-10-23 - 6.2
Simon, did you forget to remove a dependency you used only for testing? Yes, yes you did.
2024-10-22 - 6.1
Don't use vars, use our (thanks to Graham Knop @haarg)
Ignore the .AppleDouble (thanks to Dave Cantrell @DrHyde)
Improve vim swapfile patterns (thanks to Elan Ruusamäe @glensc)
Fix behaviour of File::Find and symlinks on certain versions of Win32 (thanks @thockar)
Skip unreadable files (thanks Sven Schober @sschober)
2015-11-20 - 6.0
Fix typo in examples (thanks to Zoffix Znet @zoffixznet)
Fix spelling of "FatPacker" (thanks to David Wheeler @theory)
Add before_instantiate and after_instantiate hooks (thanks to Dean Hamstead @djzort)
Use explicit test plan instead of done_testing (thanks to Matthew Horsfall @wolfsage)
-------------------------------------------------------------------
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,70 @@
#
# spec file for package perl-Module-Pluggable
#
# 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
# 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 https://bugs.opensuse.org/
#
%define cpan_name Module-Pluggable
Name: perl-Module-Pluggable
Version: 6.300.0
Release: 0
# 6.3 -> normalize -> 6.300.0
%define cpan_version 6.3
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Automatically give your module the ability to have plugins
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SI/SIMONW/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
Provides: perl(Devel::InnerPackage) = 0.4
Provides: perl(Module::Pluggable) = %{version}
Provides: perl(Module::Pluggable::Object) = 5.2
%undefine __perllib_provides
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
%autosetup -n %{cpan_name}-%{cpan_version}
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
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README
%changelog