Browse Source

fix download URLs and upgrade to latest module versions

master
parent
commit
1ce9847964
  1. 6
      perl-db/perl-db.patch
  2. 16
      perl-db/perl-db.spec

6
perl-db/perl-db.patch

@ -1,6 +1,6 @@
Index: BerkeleyDB-0.39/Makefile.PL
--- BerkeleyDB-0.39/Makefile.PL.orig 2005-08-31 23:30:09.000000000 +0200
+++ BerkeleyDB-0.39/Makefile.PL 2005-11-16 20:50:32.640927202 +0100
Index: BerkeleyDB-0.43/Makefile.PL
--- BerkeleyDB-0.43/Makefile.PL.orig 2005-08-31 23:30:09.000000000 +0200
+++ BerkeleyDB-0.43/Makefile.PL 2005-11-16 20:50:32.640927202 +0100
@@ -32,6 +32,9 @@
else {
if ($^O eq 'MSWin32')

16
perl-db/perl-db.spec

@ -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
}

Loading…
Cancel
Save