浏览代码

make sure it finds our perl

Ralf S. Engelschall 22 年之前
父节点
当前提交
ab45e1c118
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      sleuthkit/sleuthkit.spec

+ 4 - 1
sleuthkit/sleuthkit.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
 Group:        System
 License:      GPL
 Version:      1.66
-Release:      20031214
+Release:      20031218
 
 #   list of sources
 Source0:      http://osdn.dl.sourceforge.net/sleuthkit/sleuthkit-%{version}.tar.gz
@@ -64,6 +64,9 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    %{l_shtool} subst \
+        -e 's;/usr/local/bin/;%{l_prefix}/bin/;' \
+        src/timeline/config-perl
 
 %build
     #   build programs