Browse Source

switch to node-openpkg

master
parent
commit
436a6a3bb4
  1. 9
      grunt/grunt.spec

9
grunt/grunt.spec

@ -43,7 +43,7 @@ Source0: http://download.openpkg.org/components/versioned/grunt/grunt-%{V_g
Source1: grunt.sh
# build information
BuildPreReq: OpenPKG, openpkg >= 20160101, modclean
BuildPreReq: OpenPKG, openpkg >= 20160101, node-openpkg
PreReq: OpenPKG, openpkg >= 20160101, node
%description
@ -60,7 +60,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 \
@ -69,9 +69,8 @@ PreReq: OpenPKG, openpkg >= 20160101, node
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE grunt.sh} \
$RPM_BUILD_ROOT%{l_prefix}/bin/grunt
cp -rp \
node_modules/* \
$RPM_BUILD_ROOT%{l_prefix}/lib/grunt/
%{l_prefix}/bin/node-openpkg install \
%{l_prefix}/lib/grunt/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files

Loading…
Cancel
Save