diff --git a/BerkeleyDB-0.50.tar.gz b/BerkeleyDB-0.50.tar.gz deleted file mode 100644 index 2a71bc6..0000000 --- a/BerkeleyDB-0.50.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5ccde6ce333f38cc279786e51d34e6d8b6d11f09f4d758e11f4b50935e941887 -size 196051 diff --git a/BerkeleyDB-0.51.tar.gz b/BerkeleyDB-0.51.tar.gz new file mode 100644 index 0000000..5988c5c --- /dev/null +++ b/BerkeleyDB-0.51.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48363c65a8f6a07c88fcb8ef25cedde14d5c58bc63d1b9f76919fff38c02e12b +size 196814 diff --git a/perl-BerkeleyDB.changes b/perl-BerkeleyDB.changes index da96f91..f8e0252 100644 --- a/perl-BerkeleyDB.changes +++ b/perl-BerkeleyDB.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jun 3 11:38:48 UTC 2013 - coolo@suse.com + +- updated to 0.51 + * Rework FETCHSIZE + [RT #75691] + ------------------------------------------------------------------- Mon Dec 12 10:41:23 UTC 2011 - vcizek@suse.com diff --git a/perl-BerkeleyDB.spec b/perl-BerkeleyDB.spec index 8a055a5..ea8a184 100644 --- a/perl-BerkeleyDB.spec +++ b/perl-BerkeleyDB.spec @@ -1,7 +1,7 @@ # # spec file for package perl-BerkeleyDB # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -16,59 +16,63 @@ # -%bcond_with opt - Name: perl-BerkeleyDB -Version: 0.50 +Version: 0.51 Release: 0 %define cpan_name BerkeleyDB -Summary: Perl extension for Berkeley DB version 2, 3 or 4 +Summary: Perl extension for Berkeley DB version 2, 3, 4 or 5 License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/BerkeleyDB/ -#Source: http://www.cpan.org/modules/by-module/BerkeleyDB/BerkeleyDB-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz -BuildRequires: db-devel +Source: http://www.cpan.org/authors/id/P/PM/PMQS/%{cpan_name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build +# MANUAL +BuildRequires: db-devel +#BuildRequires: perl(BerkeleyDB) +#BuildRequires: perl(MLDBM) +#BuildRequires: perl(util) %{perl_requires} -%if %{with opt} -BuildRequires: perl(MLDBM) -%endif -# %description -This Perl module provides an interface to most of the functionality available -in Berkeley DB versions 2, 3 and 4. In general it is safe to assume that the -interface provided here to be identical to the Berkeley DB interface. The main -changes have been to make the Berkeley DB API work in a Perl way. Note that if -you are using Berkeley DB 2.x, the new features available in -Berkeley DB 3.x or DB 4.x are not available via this module. +*NOTE: This document is still under construction. Expect it to be +incomplete in places.* + +This Perl module provides an interface to most of the functionality +available in Berkeley DB versions 2, 3 and 4. In general it is safe to +assume that the interface provided here to be identical to the Berkeley DB +interface. The main changes have been to make the Berkeley DB API work in a +Perl way. Note that if you are using Berkeley DB 2.x, the new features +available in Berkeley DB 3.x or DB 4.x are not available via this module. + +The reader is expected to be familiar with the Berkeley DB documentation. +Where the interface provided here is identical to the Berkeley DB library +and the... TODO + +The *db_appinit*, *db_cursor*, *db_open* and *db_txn* man pages are +particularly relevant. + +The interface to Berkeley DB is implemented with a number of Perl classes. %prep %setup -q -n %{cpan_name}-%{version} -# rpmlint -# executable-docs, spurious-executable-perm -chmod a-x Changes README +find . -type f -print0 | xargs -0 chmod 644 %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -make %{?_smp_mflags} +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%{__make} %{?_smp_mflags} %check -make test +%{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist -%clean -rm -rf %{buildroot} - %files -f %{name}.files -%defattr(-,root,root,-) -%doc Changes README Todo +%defattr(-,root,root,755) +%doc BerkeleyDB.pod.P Changes dbinfo mkpod README Todo %changelog