packages: mysql/mysql.spec - no install for ndb files if disabled

glen glen at pld-linux.org
Tue May 26 01:25:50 CEST 2009


Author: glen                         Date: Mon May 25 23:25:50 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- no install for ndb files if disabled

---- Files affected:
packages/mysql:
   mysql.spec (1.447 -> 1.448) 

---- Diffs:

================================================================
Index: packages/mysql/mysql.spec
diff -u packages/mysql/mysql.spec:1.447 packages/mysql/mysql.spec:1.448
--- packages/mysql/mysql.spec:1.447	Thu May 14 14:09:03 2009
+++ packages/mysql/mysql.spec	Tue May 26 01:25:45 2009
@@ -588,12 +588,14 @@
 cp -a %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/mysql/mysql-client.conf
 
 # NDB
+%if %{with ndb}
 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/mysql-ndb
 install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/mysql-ndb
 install %{SOURCE9} $RPM_BUILD_ROOT/etc/rc.d/init.d/mysql-ndb-mgm
 install %{SOURCE10} $RPM_BUILD_ROOT/etc/sysconfig/mysql-ndb-mgm
 install %{SOURCE11} $RPM_BUILD_ROOT/etc/rc.d/init.d/mysql-ndb-cpc
 install %{SOURCE12} $RPM_BUILD_ROOT/etc/sysconfig/mysql-ndb-cpc
+%endif
 
 mv -f $RPM_BUILD_ROOT%{_libdir}/mysql/lib* $RPM_BUILD_ROOT%{_libdir}
 sed -i -e 's,%{_libdir}/mysql,%{_libdir},' $RPM_BUILD_ROOT{%{_libdir}/libmysqlclient{,_r}.la,%{_bindir}/mysql_config}
@@ -1071,6 +1073,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.448  2009/05/25 23:25:45  glen
+- no install for ndb files if disabled
+
 Revision 1.447  2009/05/14 12:09:03  glen
 - current *.log files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/mysql.spec?r1=1.447&r2=1.448&f=u



More information about the pld-cvs-commit mailing list