Build rpm on Centos 7 is failed.
Different version of utility rename. In Centos 7 need use prename.
Using prename in Ubuntu 14.04 works fain.
diff --git a/rpm/common.spec b/rpm/common.spec
index d46632e..78ef9ef 100644
--- a/rpm/common.spec
+++ b/rpm/common.spec
@@ -74,7 +74,7 @@ mkdir -p "$DS_SUPERVISOR_CONF"
cp %{_builddir}/../../../common/documentserver/supervisor/*.conf "$DS_SUPERVISOR_CONF"
# rename extention for supervisor config files
-rename 's/.conf$/.ini/' "$DS_SUPERVISOR_CONF"*
+prename 's/.conf$/.ini/' "$DS_SUPERVISOR_CONF"*
#install nginx config
DS_NGINX_CONF=$CONF_DIR/nginx/
Build rpm on Centos 7 is failed.
Different version of utility rename. In Centos 7 need use prename.
Using prename in Ubuntu 14.04 works fain.