perl-db/perl-db.spec

changeset 779
8a3648cce554
parent 778
389c33ef5a93
     1.1 --- a/perl-db/perl-db.spec	Mon Jul 01 21:20:32 2013 +0200
     1.2 +++ b/perl-db/perl-db.spec	Mon Jul 01 21:22:40 2013 +0200
     1.3 @@ -23,9 +23,9 @@
     1.4  
     1.5  #   versions of individual parts
     1.6  %define       V_perl           5.16
     1.7 -%define       V_berkeleydb     0.51
     1.8 -%define       V_bdb            1.89
     1.9 -%define       V_db_file        1.826
    1.10 +%define       V_berkeleydb     0.52
    1.11 +%define       V_bdb            1.9
    1.12 +%define       V_db_file        1.828
    1.13  %define       V_db_file_lock   0.05
    1.14  
    1.15  #   package information
    1.16 @@ -96,6 +96,24 @@
    1.17      %setup -q -T -D -a 2
    1.18      %setup -q -T -D -a 3
    1.19      %patch -p0
    1.20 +    %{l_shtool} subst \
    1.21 +        -e 's;u_int\([0-9]*\)_t;uint\1_t;g' \
    1.22 +        BerkeleyDB-*/BerkeleyDB.xs \
    1.23 +        BerkeleyDB-*/BerkeleyDB.xs \
    1.24 +        BerkeleyDB-*/typemap \
    1.25 +        BerkeleyDB-*/typemap \
    1.26 +        BerkeleyDB-*/BerkeleyDB.c \
    1.27 +        BerkeleyDB-*/BerkeleyDB.c \
    1.28 +        BDB-*/BDB.xs \
    1.29 +        BDB-*/BDB.xs \
    1.30 +        DB_File-*/README \
    1.31 +        DB_File-*/README \
    1.32 +        DB_File-*/config.in \
    1.33 +        DB_File-*/config.in \
    1.34 +        DB_File-*/typemap \
    1.35 +        DB_File-*/typemap \
    1.36 +        DB_File-*/DB_File.xs \
    1.37 +        DB_File-*/DB_File.xs
    1.38  
    1.39  %build
    1.40  

mercurial