OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 07-Apr-2005 13:13:16
Branch: HEAD Handle: 2005040712131600
Modified files:
openpkg-src/mysql mysql.spec
Log:
fix file list under with_server=no
Summary:
Revision Changes Path
1.122 +18 -2 openpkg-src/mysql/mysql.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/mysql/mysql.spec
============================================================================
$ cvs diff -u -r1.121 -r1.122 mysql.spec
--- openpkg-src/mysql/mysql.spec 6 Apr 2005 06:21:39 -0000 1.121
+++ openpkg-src/mysql/mysql.spec 7 Apr 2005 11:13:16 -0000 1.122
@@ -39,7 +39,7 @@
Group: Database
License: GPL
Version: %{V_opkg}
-Release: 20050406
+Release: 20050407
# package options
%option with_server yes
@@ -219,7 +219,23 @@
# optional client-only installation
%if "%{with_server}" != "yes"
- rm -rf $RPM_BUILD_ROOT%{l_prefix}/bin/*
+ rm -rf $RPM_BUILD_ROOT%{l_prefix}/libexec/mysql
+ ( cd $RPM_BUILD_ROOT%{l_prefix}/bin
+ for bin in *; do
+ case "$bin" in
+ mysql | mysql_config ) ;;
+ * ) rm -f $bin ;;
+ esac
+ done
+ ) || exit $?
+ ( cd $RPM_BUILD_ROOT%{l_prefix}/man/man1
+ for man in *; do
+ case "$man" in
+ mysql.1 | mysql_config.1 ) ;;
+ * ) rm -f $man ;;
+ esac
+ done
+ ) || exit $?
%endif
# determine the package files
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]