Building MySQL-4.0.14-0.src.rpm (downloaded today) I get this:
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.97684
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd mysql-4.0.14
+ LANG=C
+ export LANG
+ -n mysql-4.0.14
/var/tmp/rpm-tmp.97684: line 25: -n: command not found
error: Bad exit status from /var/tmp/rpm-tmp.97684 (%install)
It is caused by this part in the spec file:
%install -n mysql-%{mysql_version}
RBR=$RPM_BUILD_ROOT
MBD=$RPM_BUILD_DIR/mysql-%{mysql_version}
which gets translated to
cd mysql-4.0.14
LANG=C
export LANG
-n mysql-4.0.14
RBR=$RPM_BUILD_ROOT
MBD=$RPM_BUILD_DIR/mysql-4.0.14
in the build script.
Can I safely comment out everything after %install on
that line, or will something else break?
Z
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]