diff --git a/Module-Pluggable-3.9.tar.gz b/Module-Pluggable-3.9.tar.gz deleted file mode 100644 index c2c802a..0000000 --- a/Module-Pluggable-3.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8c93e78e27ef43fc2cfe3d72256c14c8169036fb6935913cfd48a0df02f4595f -size 17611 diff --git a/Module-Pluggable-5.1.tar.gz b/Module-Pluggable-5.1.tar.gz new file mode 100644 index 0000000..9cd90af --- /dev/null +++ b/Module-Pluggable-5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2dc354043bb16f1f3df8c4bb26070b26e594819f218cf8b8ac19e79c720916f +size 29418 diff --git a/perl-Module-Pluggable.changes b/perl-Module-Pluggable.changes index 78f86f7..fa31e55 100644 --- a/perl-Module-Pluggable.changes +++ b/perl-Module-Pluggable.changes @@ -1,3 +1,63 @@ +------------------------------------------------------------------- +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 diff --git a/perl-Module-Pluggable.spec b/perl-Module-Pluggable.spec index fc3f36a..041e5ff 100644 --- a/perl-Module-Pluggable.spec +++ b/perl-Module-Pluggable.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Module-Pluggable # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,61 +15,45 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: perl-Module-Pluggable -Summary: Automatically Give Your Module the Ability to Have Plug-ins -Version: 3.9 -Release: 1 -Url: http://search.cpan.org/~simonw/Module-Pluggable/ -License: Artistic License +Version: 5.1 +Release: 0 +%define cpan_name Module-Pluggable +Summary: Automatically give your module the ability to have plugins +License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl -Requires: perl-Class-Inspector perl = %{perl_version} -BuildRequires: perl-Class-Inspector perl-Module-Build -BuildRequires: perl-macros -Source: Module-Pluggable-%{version}.tar.gz +Url: http://search.cpan.org/dist/Module-Pluggable/ +Source: http://www.cpan.org/authors/id/S/SI/SIMONW/Module-Pluggable-%{version}.tar.gz +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +%{perl_requires} %description -Provides a simple but, hopefully, extensible way of having 'plug-ins' -for your module. Obviously, this is not going to be the best possible -of solutions but it is convenient at the moment. - -Essentially all it does is to export a method into your namespace that -looks through a search path for .pm files and turns those into class -names. - -Optionally, it instantiates those classes for you. - - -Authors: --------- - Simon Wistow +This package provides a simple but, hopefully, extensible way of having +'plugins' for your module. Essentially all it does is export a method into +your name space that looks through a search path for .pm files and turn those +into class names. Optionally it instantiates those classes for you. %prep -%setup -q -n Module-Pluggable-%{version} -chmod -x Changes INSTALL Makefile.PL MANIFEST MANIFEST.SKIP META.yml README -# --------------------------------------------------------------------------- +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL -make %{?jobs:-j%jobs} - -%check -make test -# --------------------------------------------------------------------------- +%{__perl} Build.PL installdirs=vendor +./Build %install -%perl_make_install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 %perl_process_packlist %perl_gen_filelist -%clean -rm -rf %buildroot +%check +./Build test -%files -f %name.files -%defattr(0644,root,root,0755) -%doc Changes INSTALL README +%files -f %{name}.files +%defattr(-,root,root,755) %changelog +