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.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/perl-Module-Pluggable.changes b/perl-Module-Pluggable.changes index 4b18646..73fe4fe 100644 --- a/perl-Module-Pluggable.changes +++ b/perl-Module-Pluggable.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +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..ab4e0cd 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) 2024 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.200.0 +Release: 0 +# 6.2 -> normalize -> 6.200.0 +%define cpan_version 6.2 +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