From a7ddb3f33e5b8c340901074a5aa5a7f1091d9e49d752075f58f01bf8a1921bbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 26 Feb 2025 13:59:52 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main perl-Module-Pluggable revision c930841a87c752666c1d7e51db1ceda3 --- Module-Pluggable-5.2.tar.gz | 3 --- Module-Pluggable-6.3.tar.gz | 3 +++ perl-Module-Pluggable.changes | 32 +++++++++++++++++++++++++++++ perl-Module-Pluggable.spec | 38 +++++++++++++++++++---------------- 4 files changed, 56 insertions(+), 20 deletions(-) delete mode 100644 Module-Pluggable-5.2.tar.gz create mode 100644 Module-Pluggable-6.3.tar.gz diff --git a/Module-Pluggable-5.2.tar.gz b/Module-Pluggable-5.2.tar.gz deleted file mode 100644 index e06cff0..0000000 --- a/Module-Pluggable-5.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b3f2ad45e4fd10b3fb90d912d78d8b795ab295480db56dc64e86b9fa75c5a6df -size 26920 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/perl-Module-Pluggable.changes b/perl-Module-Pluggable.changes index 4b18646..40bdc29 100644 --- a/perl-Module-Pluggable.changes +++ b/perl-Module-Pluggable.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +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 diff --git a/perl-Module-Pluggable.spec b/perl-Module-Pluggable.spec index 043620c..cb48762 100644 --- a/perl-Module-Pluggable.spec +++ b/perl-Module-Pluggable.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Module-Pluggable # -# 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,24 +12,28 @@ # 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-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 +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 -BuildRoot: %{_tmppath}/%{name}-%{version}-build 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} @@ -44,15 +48,16 @@ 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 +%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} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -60,7 +65,6 @@ find . -type f -print0 | xargs -0 chmod 644 %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README %changelog