|
|
|
|
@ -36,7 +36,7 @@ Class: EVAL
|
|
|
|
|
Group: Language |
|
|
|
|
License: MIT |
|
|
|
|
Version: %{V_jshint} |
|
|
|
|
Release: 20170101 |
|
|
|
|
Release: 20170115 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://download.openpkg.org/components/versioned/jshint/jshint-%{V_jshint}-%{V_jshint_snap}.tar.gz |
|
|
|
|
@ -44,7 +44,7 @@ Source1: jshint.sh
|
|
|
|
|
Source2: jshint.txt |
|
|
|
|
|
|
|
|
|
# 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 \ |
|
|
|
|
@ -74,10 +75,8 @@ PreReq: OpenPKG, openpkg >= 20160101, node
|
|
|
|
|
%{l_shtool} install -c -m 644 \ |
|
|
|
|
%{SOURCE jshint.txt} \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/man/cat1/jshint.1 |
|
|
|
|
rm -rf node_modules/jshint/node_modules/shelljs/test |
|
|
|
|
cp -rp \ |
|
|
|
|
node_modules/* \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/lib/jshint/ |
|
|
|
|
%{l_prefix}/bin/node-openpkg install \ |
|
|
|
|
%{l_prefix}/lib/jshint/ |
|
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
|
|
|
|
|
|
%files -f files |
|
|
|
|
|