浏览代码

added Apache::DB profiling hook

Michael van Elst 22 年之前
父节点
当前提交
f0053defbb
共有 1 个文件被更改,包括 7 次插入2 次删除
  1. 7 2
      perl-apache/perl-apache.spec

+ 7 - 2
perl-apache/perl-apache.spec

@@ -37,6 +37,7 @@
 %define       V_apache_session_sqlite    0.21
 %define       V_apache_session_sharedmem 0.41
 %define       V_apache_tempfile          0.05
+%define       V_apache_db                0.06
 
 #   package information
 Name:         perl-apache
@@ -47,8 +48,8 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [EVAL]
 Group:        Language
 License:      GPL/Artistic
-Version:      20030305
-Release:      20030305
+Version:      20030530
+Release:      20030530
 
 #   package options
 #   FIMXE: rse: alternative *brain-dead* behavior in Apache-AuthCookie's login
@@ -69,6 +70,7 @@ Source9:      http://www.cpan.org/modules/by-module/Apache/Apache-Session-Lazy-%
 Source10:     http://www.cpan.org/modules/by-module/Apache/Apache-Session-SQLite-%{V_apache_session_sqlite}.tar.gz
 Source11:     http://www.cpan.org/modules/by-module/Apache/Apache-Session-SharedMem-%{V_apache_session_sharedmem}.tar.gz
 Source12:     http://www.cpan.org/modules/by-module/Apache/Apache-TempFile-%{V_apache_tempfile}.tar.gz
+Source13:     http://www.cpan.org/modules/by-module/Apache/Apache-DB-%{V_apache_db}.tar.gz
 Patch0:       Apache-AuthCookie.patch
 
 #   build information
@@ -94,6 +96,7 @@ AutoReqProv:  no
     - Apache::Session::SQLite (%{V_apache_session_sqlite})
     - Apache::Session::SharedMem (%{V_apache_session_sharedmem})
     - Apache::TempFile (%{V_apache_tempfile})
+    - Apache::DB (%{V_apache_db})
 
 %prep
     %setup0  -q -c
@@ -109,6 +112,7 @@ AutoReqProv:  no
     %setup10 -q -T -D -a 10
     %setup11 -q -T -D -a 11
     %setup12 -q -T -D -a 12
+    %setup13 -q -T -D -a 13
 %if "%{with_authcookie_alt}" == "yes"
     %patch0 -p0
 %endif
@@ -133,6 +137,7 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg install -d %{SOURCE10}
     %{l_prefix}/bin/perl-openpkg install -d %{SOURCE11}
     %{l_prefix}/bin/perl-openpkg install -d %{SOURCE12}
+    %{l_prefix}/bin/perl-openpkg install -d %{SOURCE13}
 
     #   perform common epilog operations
     %{l_prefix}/bin/perl-openpkg epilog