Accepting request 1236271 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/1236271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Module-Pluggable?expand=0&rev=5
This commit is contained in:
Ana Guerrero 2025-01-12 10:09:30 +00:00 committed by Git OBS Bridge
commit f8230b1c99
4 changed files with 46 additions and 20 deletions

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

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

@ -1,3 +1,25 @@
-------------------------------------------------------------------
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

View File

@ -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