瀏覽代碼

fix packaging

Ralf S. Engelschall 9 年之前
父節點
當前提交
1e1ef21ef3
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      watch/watch.sh
  2. 2 2
      watch/watch.spec

+ 1 - 1
watch/watch.sh

@@ -2,5 +2,5 @@
 NODE_PATH=@l_prefix@/lib/watch
 export NODE_PATH
 exec @l_prefix@/bin/node \
-    @l_prefix@/lib/watch/cli.js \
+    @l_prefix@/lib/watch/watch/cli.js \
     ${1+"$@"}

+ 2 - 2
watch/watch.spec

@@ -36,7 +36,7 @@ Class:        EVAL
 Group:        Filesystem
 License:      Apache
 Version:      %{V_watch}
-Release:      20160220
+Release:      20160223
 
 #   list of sources
 Source0:      http://download.openpkg.org/components/versioned/watch/watch-%{V_watch}-%{V_watch_snap}.tar.gz
@@ -70,7 +70,7 @@ PreReq:       OpenPKG, openpkg >= 20140101, node, git
         %{SOURCE watch.sh} \
         $RPM_BUILD_ROOT%{l_prefix}/bin/watch
     cp -rp \
-        node_modules/watch/* \
+        node_modules/* \
         $RPM_BUILD_ROOT%{l_prefix}/lib/watch/
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}