|
|
|
|
@ -22,8 +22,8 @@
|
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_pm2 1.1.3 |
|
|
|
|
%define V_pm2_snap 20160903 |
|
|
|
|
%define V_pm2 2.0.12 |
|
|
|
|
%define V_pm2_snap 20160916 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: pm2 |
|
|
|
|
@ -36,7 +36,7 @@ Class: EVAL
|
|
|
|
|
Group: Process |
|
|
|
|
License: MIT |
|
|
|
|
Version: %{V_pm2} |
|
|
|
|
Release: 20160903 |
|
|
|
|
Release: 20160916 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://download.openpkg.org/components/versioned/pm2/pm2-%{V_pm2}-%{V_pm2_snap}.tar.gz |
|
|
|
|
@ -107,11 +107,6 @@ PreReq: OpenPKG, openpkg >= 20160101, node
|
|
|
|
|
cp -rp \ |
|
|
|
|
node_modules/pm2/* \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/lib/node/pkg/pm2/ |
|
|
|
|
rm -rf node_modules/pm2 |
|
|
|
|
mkdir $RPM_BUILD_ROOT%{l_prefix}/lib/node/pkg/pm2/node_modules |
|
|
|
|
cp -rp \ |
|
|
|
|
node_modules/* \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/lib/node/pkg/pm2/node_modules/ |
|
|
|
|
|
|
|
|
|
# install setuid wrapper script |
|
|
|
|
%{l_shtool} install -c -m 755 \ |
|
|
|
|
|