.gear-rules | 2 + .../9421e23bdaec91f6a0f30548663facf70d76dfc6 | 13 +++++ .gear-tags/list | 1 + CDB_File.pm | 9 ++-- perl-CDB_File.spec | 51 ++++++++++++++++++++ 5 files changed, 71 insertions(+), 5 deletions(-) diff --git a/.gear-rules b/.gear-rules new file mode 100644 index 0000000..644ea6e --- /dev/null +++ b/.gear-rules @@ -0,0 +1,2 @@ +tar: @version@:. name=CDB_File-@version@ +diff: @version@:. . name=perl-CDB_File-@version@-@release@.patch diff --git a/.gear-tags/9421e23bdaec91f6a0f30548663facf70d76dfc6 b/.gear-tags/9421e23bdaec91f6a0f30548663facf70d76dfc6 new file mode 100644 index 0000000..0dd41cb --- /dev/null +++ b/.gear-tags/9421e23bdaec91f6a0f30548663facf70d76dfc6 @@ -0,0 +1,13 @@ +object 00cadc9c667108714cc22ca808eff1c61d186a7e +type commit +tag 0.95 +tagger Alexey Tourbin <at@altlinux.ru> 1189602129 +0400 + +0.95 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7 (GNU/Linux) + +iD8DBQBG5+NRfBKgtDjnu0YRArKLAKCAZHkDL1ZJEsBWrYgQDi0N8aG6KQCfQyIu +S/hRzgcw+4JDuMzS0pay88Q= +=HRUj +-----END PGP SIGNATURE----- diff --git a/.gear-tags/list b/.gear-tags/list new file mode 100644 index 0000000..6c9d9d3 --- /dev/null +++ b/.gear-tags/list @@ -0,0 +1 @@ +9421e23bdaec91f6a0f30548663facf70d76dfc6 0.95 diff --git a/CDB_File.pm b/CDB_File.pm index afe3b95..172495f 100644 --- a/CDB_File.pm +++ b/CDB_File.pm @@ -4,10 +4,8 @@ use strict; use Carp; use vars qw($VERSION @ISA @EXPORT_OK); -use DynaLoader (); -use Exporter (); - -@ISA = qw(Exporter DynaLoader); +require Exporter; +@ISA = qw(Exporter); @EXPORT_OK = qw(create); $VERSION = '0.95'; @@ -324,7 +322,8 @@ Now maintained by Matt Sergeant, <matt@sergeant.org> =cut -bootstrap CDB_File $VERSION; +require XSLoader; +XSLoader::load(__PACKAGE__, $VERSION); sub CLEAR { croak "Modification of a CDB_File attempted" diff --git a/perl-CDB_File.spec b/perl-CDB_File.spec new file mode 100644 index 0000000..908f10e --- /dev/null +++ b/perl-CDB_File.spec @@ -0,0 +1,51 @@ +%define dist CDB_File +Name: perl-%dist +Version: 0.95 +Release: alt1 + +Summary: Perl extension for access to cdb databases +License: GPL or Artistic +Group: Development/Perl + +URL: %CPAN %dist +Source: %dist-%version.tar +Patch: %name-%version-%release.patch + +# Automatically added by buildreq on Wed Sep 12 2007 +BuildRequires: perl-devel + +%description +CDB_File is a module which provides a Perl interface to Dan +Berstein's cdb package. cdb is a fast, reliable, lightweight +package for creating and reading constant databases. + +%prep +%setup -q -n %dist-%version +%patch -p1 + +%build +%perl_vendor_build + +%install +%perl_vendor_install + +%files +%doc ACKNOWLEDGE CHANGES COPYRIGHT README +%perl_vendor_archlib/CDB_File* +%perl_vendor_autolib/CDB_File* + +%changelog +* Wed Sep 12 2007 Alexey Tourbin <at@altlinux.ru> 0.95-alt1 +- 0.94 -> 0.95 + +* Sat Feb 19 2005 ALT QA Team Robot <qa-robot@altlinux.org> 0.94-alt1.1 +- Rebuilt with rpm-build-perl-0.5.1. + +* Tue May 11 2004 Alexey Tourbin <at@altlinux.ru> 0.94-alt1 +- 0.92 -> 0.94, resurrected + +* Fri Mar 21 2003 Stanislav Ievlev <inger@altlinux.ru> 0.92-alt1 +- 0.92 + +* Tue Nov 12 2002 Stanislav Ievlev <inger@altlinux.ru> 0.91-alt1 +- Initial release