~laurynas-biveinis/percona-xtrabackup/BT-28340-bug1158154-2.1

« back to all changes in this revision

Viewing changes to utils/xtrabackup.spec

MergedĀ lp:~gl-az/percona-xtrabackup/BT-23557-2.1-encrypted_stream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
export CFLAGS="$CFLAGS -DXTRABACKUP_VERSION=\\\"%{xtrabackup_version}\\\" -DXTRABACKUP_REVISION=\\\"%{xtrabackup_revision}\\\"" 
63
63
export CXXFLAGS="$CXXFLAGS -DXTRABACKUP_VERSION=\\\"%{xtrabackup_version}\\\" -DXTRABACKUP_REVISION=\\\"%{xtrabackup_revision}\\\" -fno-exceptions" 
64
64
AUTO_DOWNLOAD=yes ./utils/build.sh 5.1
65
 
cp src/xtrabackup_51 src/xbstream .
 
65
cp src/xtrabackup_51 src/xbstream src/xbcrypt .
66
66
AUTO_DOWNLOAD=yes ./utils/build.sh xtradb
67
67
cp src/xtrabackup .
68
68
AUTO_DOWNLOAD=yes ./utils/build.sh xtradb55
80
80
ln -s innobackupex %{buildroot}%{_bindir}/innobackupex-1.5.1
81
81
install -m 755 xtrabackup_51 %{buildroot}%{_bindir}
82
82
install -m 755 xbstream %{buildroot}%{_bindir}
 
83
install -m 755 xbcrypt %{buildroot}%{_bindir}
83
84
cp -R test %{buildroot}%{_datadir}/percona-xtrabackup-test
84
85
 
85
86
%clean
93
94
%{_bindir}/xtrabackup_51
94
95
%{_bindir}/xtrabackup_55
95
96
%{_bindir}/xbstream
 
97
%{_bindir}/xbcrypt
96
98
%doc COPYING
97
99
 
98
100
%files -n percona-xtrabackup-test