|
|
|
@ -23,7 +23,7 @@
|
|
|
|
|
|
|
|
|
|
# versions of individual parts |
|
|
|
|
%define V_perl 5.12 |
|
|
|
|
%define V_berkeleydb 0.39 |
|
|
|
|
%define V_berkeleydb 0.43 |
|
|
|
|
%define V_bdb 1.88 |
|
|
|
|
%define V_db_file 1.820 |
|
|
|
|
%define V_db_file_lock 0.05 |
|
|
|
@ -39,16 +39,16 @@ Class: BASE
|
|
|
|
|
Group: Perl |
|
|
|
|
License: GPL/Artistic |
|
|
|
|
Version: %{V_perl} |
|
|
|
|
Release: 20100414 |
|
|
|
|
Release: 20101219 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_pthreads no |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://www.cpan.org/modules/by-module/BerkeleyDB/BerkeleyDB-%{V_berkeleydb}.tar.gz |
|
|
|
|
Source0: http://www.cpan.org/authors/id/P/PM/PMQS/BerkeleyDB-%{V_berkeleydb}.tar.gz |
|
|
|
|
Source1: http://www.cpan.org/authors/id/M/ML/MLEHMANN/BDB-%{V_bdb}.tar.gz |
|
|
|
|
Source2: http://www.cpan.org/modules/by-module/DB_File/DB_File-%{V_db_file}.tar.gz |
|
|
|
|
Source3: http://www.cpan.org/modules/by-module/DB_File/DB_File-Lock-%{V_db_file_lock}.tar.gz |
|
|
|
|
Source2: http://www.cpan.org/authors/id/P/PM/PMQS/DB_File-%{V_db_file}.tar.gz |
|
|
|
|
Source3: http://www.cpan.org/authors/id/D/DH/DHARRIS/DB_File-Lock-%{V_db_file_lock}.tar.gz |
|
|
|
|
Patch0: perl-db.patch |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
@ -71,7 +71,7 @@ PreReq: db::with_pthreads = yes
|
|
|
|
|
%track |
|
|
|
|
prog perl-db:BerkeleyDB = { |
|
|
|
|
version = %{V_berkeleydb} |
|
|
|
|
url = http://www.cpan.org/modules/by-module/BerkeleyDB/ |
|
|
|
|
url = http://www.cpan.org/authors/id/P/PM/PMQS/ |
|
|
|
|
regex = BerkeleyDB-(__VER__)\.tar\.gz |
|
|
|
|
} |
|
|
|
|
prog perl-db:BDB = { |
|
|
|
@ -81,12 +81,12 @@ PreReq: db::with_pthreads = yes
|
|
|
|
|
} |
|
|
|
|
prog perl-db:DB_File = { |
|
|
|
|
version = %{V_db_file} |
|
|
|
|
url = http://www.cpan.org/modules/by-module/DB_File/ |
|
|
|
|
url = http://www.cpan.org/authors/id/P/PM/PMQS/ |
|
|
|
|
regex = DB_File-(__VER__)\.tar\.gz |
|
|
|
|
} |
|
|
|
|
prog perl-db:DB_File-Lock = { |
|
|
|
|
version = %{V_db_file_lock} |
|
|
|
|
url = http://www.cpan.org/modules/by-module/DB_File/ |
|
|
|
|
url = http://www.cpan.org/authors/id/D/DH/DHARRIS/ |
|
|
|
|
regex = DB_File-Lock-(__VER__)\.tar\.gz |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|