commit 977b49065dd6d29efb8fc9ba4d5602cba5142a37e11743b5ddf83a5f50f51db3 Author: Tina Müller Date: Fri Jan 17 00:03:42 2025 +0000 - 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Module-Pluggable-5.2.tar.gz b/Module-Pluggable-5.2.tar.gz new file mode 100644 index 0000000..e06cff0 --- /dev/null +++ b/Module-Pluggable-5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b3f2ad45e4fd10b3fb90d912d78d8b795ab295480db56dc64e86b9fa75c5a6df +size 26920 diff --git a/Module-Pluggable-6.2.tar.gz b/Module-Pluggable-6.2.tar.gz new file mode 100644 index 0000000..34deffa --- /dev/null +++ b/Module-Pluggable-6.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2743f1cb59c2cac21bf14f0f71beab5ced75a589394a1fd8ac09ecc71599299e +size 28427 diff --git a/Module-Pluggable-6.3.tar.gz b/Module-Pluggable-6.3.tar.gz new file mode 100644 index 0000000..1a1c868 --- /dev/null +++ b/Module-Pluggable-6.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58512bb9c654746d0937770b98b559b30872d85ac24073485e5830890dd1b2a0 +size 29053 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..5a646bd --- /dev/null +++ b/cpanspec.yml @@ -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 diff --git a/perl-Module-Pluggable.changes b/perl-Module-Pluggable.changes new file mode 100644 index 0000000..40bdc29 --- /dev/null +++ b/perl-Module-Pluggable.changes @@ -0,0 +1,155 @@ +------------------------------------------------------------------- +Sat Jan 11 05:31:35 UTC 2025 - Tina Müller + +- 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 + +- 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 + diff --git a/perl-Module-Pluggable.spec b/perl-Module-Pluggable.spec new file mode 100644 index 0000000..cb48762 --- /dev/null +++ b/perl-Module-Pluggable.spec @@ -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