|
|
@@ -43,7 +43,7 @@ Source0: http://download.openpkg.org/components/versioned/upd/upd-%{V_upd}-
|
|
|
Source1: upd.sh
|
|
|
|
|
|
# build information
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20160101, modclean
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20160101, node-openpkg
|
|
|
PreReq: OpenPKG, openpkg >= 20160101, node
|
|
|
|
|
|
%description
|
|
|
@@ -63,7 +63,7 @@ PreReq: OpenPKG, openpkg >= 20160101, node
|
|
|
%setup -q -c
|
|
|
|
|
|
%build
|
|
|
- modclean -p . -n default:safe,default:caution -r -P
|
|
|
+ %{l_prefix}/bin/node-openpkg squeeze
|
|
|
|
|
|
%install
|
|
|
%{l_shtool} mkdir -f -p -m 755 \
|
|
|
@@ -72,9 +72,8 @@ PreReq: OpenPKG, openpkg >= 20160101, node
|
|
|
%{l_shtool} install -c -m 755 %{l_value -s -a} \
|
|
|
%{SOURCE upd.sh} \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin/upd
|
|
|
- cp -rp \
|
|
|
- node_modules/* \
|
|
|
- $RPM_BUILD_ROOT%{l_prefix}/lib/upd/
|
|
|
+ %{l_prefix}/bin/node-openpkg install \
|
|
|
+ %{l_prefix}/lib/upd/
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
|
|
|
|
|
|
%files -f files
|