.gear/rules | 2 + .../tags/368c70f769a385da3dfc9ccee6c5b64c8afdc668 | 13 ++++ .gear/tags/list | 1 + lib/Params/Util.pm | 12 +--- perl-Params-Util.spec | 60 ++++++++++++++++++++ 5 files changed, 80 insertions(+), 8 deletions(-) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..c4a6931 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +tar: @version@:. name=Params-Util-@version@ +diff: @version@:. . name=perl-Params-Util-@version@-@release@.patch diff --git a/.gear/tags/368c70f769a385da3dfc9ccee6c5b64c8afdc668 b/.gear/tags/368c70f769a385da3dfc9ccee6c5b64c8afdc668 new file mode 100644 index 0000000..5ac0e9e --- /dev/null +++ b/.gear/tags/368c70f769a385da3dfc9ccee6c5b64c8afdc668 @@ -0,0 +1,13 @@ +object 1714d2cc9aa7954f5a007415ee48a53c8c44d7f5 +type commit +tag 1.00 +tagger Alexey Tourbin 1246262687 +0400 + +1.00 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iEYEABECAAYFAkpIdaAACgkQfBKgtDjnu0YLrwCeIbOmKtB+1Qv/+UR7Gne2zoSp +vPMAnArnwwiyfbejN/oR9u2mFIGPZ6A3 +=5Oim +-----END PGP SIGNATURE----- diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..e8d8afb --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +368c70f769a385da3dfc9ccee6c5b64c8afdc668 1.00 diff --git a/lib/Params/Util.pm b/lib/Params/Util.pm index b67e1c0..2336bd6 100644 --- a/lib/Params/Util.pm +++ b/lib/Params/Util.pm @@ -60,14 +60,12 @@ use strict; require overload; require Exporter; require Scalar::Util; -require DynaLoader; use vars qw{$VERSION @ISA @EXPORT_OK %EXPORT_TAGS}; $VERSION = '1.00'; @ISA = qw{ Exporter - DynaLoader }; @EXPORT_OK = qw{ _STRING _IDENTIFIER @@ -83,12 +81,10 @@ $VERSION = '1.00'; }; %EXPORT_TAGS = ( ALL => \@EXPORT_OK ); -eval { - local $ENV{PERL_DL_NONLAZY} = 0 if $ENV{PERL_DL_NONLAZY}; - bootstrap Params::Util $VERSION; - 1; -} unless $ENV{PERL_PARAMS_UTIL_PP}; - +unless ($ENV{PARAMS_UTIL_PP}) { + require XSLoader; + XSLoader::load('Params::Util', $VERSION); +} diff --git a/perl-Params-Util.spec b/perl-Params-Util.spec new file mode 100644 index 0000000..4ca1765 --- /dev/null +++ b/perl-Params-Util.spec @@ -0,0 +1,60 @@ +%define dist Params-Util +Name: perl-%dist +Version: 1.00 +Release: alt1 + +Summary: Simple standalone param-checking functions +License: GPL or Artistic +Group: Development/Perl + +URL: %CPAN %dist +Source: %dist-%version.tar +Patch: %name-%version-%release.patch + +# Automatically added by buildreq on Mon Jun 29 2009 +BuildRequires: perl-devel + +%description +Params::Util provides a basic set of importable functions that makes +checking parameters a hell of a lot easier. + +%prep +%setup -q -n %dist-%version +%patch -p1 + +%build +%perl_vendor_build + +%install +%perl_vendor_install + +%files +%doc Changes +%perl_vendor_archlib/Params +%perl_vendor_autolib/Params + +%changelog +* Mon Jun 29 2009 Alexey Tourbin 1.00-alt1 +- 0.38 -> 1.00 + +* Mon Mar 09 2009 Alexey Tourbin 0.38-alt1 +- 0.35 -> 0.38 + +* Sun Nov 23 2008 Alexey Tourbin 0.35-alt1 +- 0.33 -> 0.35 +- noarch -> $arch, due to new XS code + +* Sat Sep 27 2008 Alexey Tourbin 0.33-alt1 +- 0.31 -> 0.33 + +* Sat Apr 12 2008 Alexey Tourbin 0.31-alt1 +- 0.25 -> 0.31 + +* Sat Jun 16 2007 Alexey Tourbin 0.25-alt1 +- 0.17 -> 0.25 + +* Wed Aug 09 2006 Alexey Tourbin 0.17-alt1 +- 0.05 -> 0.17 + +* Tue Sep 06 2005 Alexey Tourbin 0.05-alt1 +- initial revision (for PPI)