Skip to content

Commit 912f71b

Browse files
committed
fix #123
1 parent b853ec0 commit 912f71b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rpm/ob-deploy.spec

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ pyinstaller --hidden-import=decimal --hidden-import=configparser -F obd.py
6464
rm -f obd.py obd.spec
6565
\cp -rf $SRC_DIR/dist/obd ${RPM_BUILD_ROOT}/usr/bin/obd
6666
\cp -rf $SRC_DIR/plugins $BUILD_DIR/SOURCES/plugins
67+
\cp -rf $SRC_DIR/example $BUILD_DIR/SOURCES/example
6768
\cp -rf $SRC_DIR/config_parser $BUILD_DIR/SOURCES/config_parser
6869
\rm -fr $BUILD_DIR/SOURCES/plugins/oceanbase-ce
6970
\rm -fr $BUILD_DIR/SOURCES/plugins/obproxy-ce
@@ -79,6 +80,7 @@ mkdir -p ${RPM_BUILD_ROOT}/usr/obd/lib/
7980
\cp -rf $BUILD_DIR/SOURCES/site-packages ${RPM_BUILD_ROOT}/usr/obd/lib/site-packages
8081
mkdir -p ${RPM_BUILD_ROOT}/usr/obd/lib/executer
8182
\cp -rf ${RPM_DIR}/executer27 ${RPM_BUILD_ROOT}/usr/obd/lib/executer/
83+
\cp -rf $BUILD_DIR/SOURCES/example ${RPM_BUILD_ROOT}/usr/obd/
8284
cd ${RPM_BUILD_ROOT}/usr/obd/plugins && ln -s oceanbase oceanbase-ce && mv obproxy obproxy-ce
8385
cd ${RPM_BUILD_ROOT}/usr/obd/config_parser && ln -s oceanbase oceanbase-ce
8486

@@ -114,6 +116,10 @@ echo -e 'Installation of obd finished successfully\nPlease source /etc/profile.d
114116
#/sbin/chkconfig obd on
115117

116118
%changelog
119+
* Sun Jul 17 2022 obd 1.4.0
120+
- new features: support tpcc
121+
- new features: support mysqltest record
122+
- fix bug: tpch ddl
117123
* Tue Apr 26 2022 obd 1.3.3
118124
- new features: change repository for a deployed component
119125
- fix bug: check kernel version when autdeploy obproxy

0 commit comments

Comments
 (0)