Browse Source

upgrading package: hadoop 2.9.0 -> 3.0.0

Ralf S. Engelschall 8 years ago
parent
commit
f11165d9db
1 changed files with 4 additions and 4 deletions
  1. 4 4
      hadoop/hadoop.spec

+ 4 - 4
hadoop/hadoop.spec

@@ -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