diff --git a/etcd-furthermore/etcd-furthermore.spec b/etcd-furthermore/etcd-furthermore.spec index 8a93dc7580..2b172b0cee 100644 --- a/etcd-furthermore/etcd-furthermore.spec +++ b/etcd-furthermore/etcd-furthermore.spec @@ -36,14 +36,14 @@ Class: PLUS Group: Network License: MIT Version: %{V_furthermore} -Release: 20170101 +Release: 20170115 # list of sources Source0: http://download.openpkg.org/components/versioned/etcd-furthermore/furthermore-%{V_furthermore}-%{V_furthermore_snap}.tar.gz Source1: etcd-furthermore.sh # build information -BuildPreReq: OpenPKG, openpkg >= 20160101 +BuildPreReq: OpenPKG, openpkg >= 20160101, node-openpkg PreReq: OpenPKG, openpkg >= 20160101, node %description @@ -62,6 +62,7 @@ PreReq: OpenPKG, openpkg >= 20160101, node %setup -q -c %build + %{l_prefix}/bin/node-openpkg squeeze %install %{l_shtool} mkdir -f -p -m 755 \ @@ -70,9 +71,8 @@ PreReq: OpenPKG, openpkg >= 20160101, node %{l_shtool} install -c -m 755 %{l_value -s -a} \ %{SOURCE etcd-furthermore.sh} \ $RPM_BUILD_ROOT%{l_prefix}/bin/etcd-furthermore - cp -rp \ - node_modules/* \ - $RPM_BUILD_ROOT%{l_prefix}/lib/etcd-furthermore/ + %{l_prefix}/bin/node-openpkg install \ + %{l_prefix}/lib/etcd-furthermore/ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} %files -f files