|
|
@@ -22,8 +22,8 @@
|
|
|
##
|
|
|
|
|
|
# package version
|
|
|
-%define V_opkg 2.9.0
|
|
|
-%define V_dist 2.9.0
|
|
|
+%define V_opkg 3.0.0
|
|
|
+%define V_dist 3.0.0
|
|
|
|
|
|
# package information
|
|
|
Name: hadoop
|
|
|
@@ -36,7 +36,7 @@ Class: EVAL
|
|
|
Group: Filesystem
|
|
|
License: Apache
|
|
|
Version: %{V_opkg}
|
|
|
-Release: 20171118
|
|
|
+Release: 20171215
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.apache.org/dist/hadoop/common/hadoop-%{V_dist}/hadoop-%{V_dist}.tar.gz
|
|
|
@@ -88,7 +88,7 @@ PreReq: OpenPKG, openpkg >= 20160101, java
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/var/hadoop/data
|
|
|
|
|
|
# install configuration
|
|
|
- cp etc/hadoop/* $RPM_BUILD_ROOT%{l_prefix}/etc/hadoop/
|
|
|
+ cp -r etc/hadoop/* $RPM_BUILD_ROOT%{l_prefix}/etc/hadoop/
|
|
|
|
|
|
# strip down installation
|
|
|
rm -rf etc
|