|
|
|
@ -22,8 +22,8 @@
|
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_david 7.0.0 |
|
|
|
|
%define V_david_snap 20160101 |
|
|
|
|
%define V_david 7.0.1 |
|
|
|
|
%define V_david_snap 20160305 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: david |
|
|
|
@ -36,7 +36,7 @@ Class: EVAL
|
|
|
|
|
Group: Archiver |
|
|
|
|
License: MIT |
|
|
|
|
Version: %{V_david} |
|
|
|
|
Release: 20160101 |
|
|
|
|
Release: 20160305 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://download.openpkg.org/components/versioned/david/david-%{V_david}-%{V_david_snap}.tar.gz |
|
|
|
@ -77,9 +77,9 @@ PreReq: OpenPKG, openpkg >= 20100101, node
|
|
|
|
|
find . -name "test*" -type d -print | xargs rm -rf |
|
|
|
|
find . -name "example*" -type d -print | xargs rm -rf |
|
|
|
|
find . -name "script*" -type d -print | xargs rm -rf |
|
|
|
|
rm -rf node_modules/david/node_modules/npm/doc |
|
|
|
|
rm -rf node_modules/david/node_modules/npm/html |
|
|
|
|
rm -rf node_modules/david/node_modules/npm/man |
|
|
|
|
rm -rf node_modules/npm/doc |
|
|
|
|
rm -rf node_modules/npm/html |
|
|
|
|
rm -rf node_modules/npm/man |
|
|
|
|
|
|
|
|
|
%install |
|
|
|
|
%{l_shtool} mkdir -f -p -m 755 \ |
|
|
|
@ -89,7 +89,7 @@ PreReq: OpenPKG, openpkg >= 20100101, node
|
|
|
|
|
%{SOURCE david.sh} \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin/david |
|
|
|
|
cp -rp \ |
|
|
|
|
node_modules/david/* \ |
|
|
|
|
node_modules/* \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/lib/david/ |
|
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
|
|
|
|
|
|