Commit f4477b7a authored by unknown's avatar unknown

Merge bk-internal.mysql.com:/home/bk/mysql-4.0

into mysql.com:/my/mysql-4.0

parents 6f6e0a7a 8ab3553b
...@@ -278,9 +278,8 @@ unless ($opt_skip_manual) ...@@ -278,9 +278,8 @@ unless ($opt_skip_manual)
&logger($msg); &logger($msg);
foreach $file qw/internals manual reservedwords/ foreach $file qw/internals manual reservedwords/
{ {
$command= "bk cat $opt_docdir/Docs/$file.texi"; system ("bk cat $opt_docdir/Docs/$file.texi > $target_dir/Docs/$file.texi") == 0
$command.= "> $target_dir/Docs/$file.texi"; or &abort("Could not update $file.texi in $target_dir/Docs/!");
&run_command($command, "Could not updated $file.texi in $target_dir/Docs/!");
} }
} }
......
#!/usr/bin/perl -w #!/usr/bin/perl -w
use File::Basename;
use Getopt::Long; use Getopt::Long;
use Sys::Hostname;
@config_options= (); @config_options= ();
@make_options= (); @make_options= ();
...@@ -75,7 +77,7 @@ if (@config_env > 0) ...@@ -75,7 +77,7 @@ if (@config_env > 0)
$opt_config_env= join(" ", @config_env); $opt_config_env= join(" ", @config_env);
} }
chomp($host=`hostname`); $host= hostname();
chomp($uname=`uname`); chomp($uname=`uname`);
$full_host_name=$host; $full_host_name=$host;
$connect_option= ($opt_tcpip ? "--host=$host" : ""); $connect_option= ($opt_tcpip ? "--host=$host" : "");
...@@ -83,7 +85,7 @@ $host =~ /^([^.-]*)/; ...@@ -83,7 +85,7 @@ $host =~ /^([^.-]*)/;
$host=$1 . $opt_suffix; $host=$1 . $opt_suffix;
$email="$opt_user\@mysql.com"; $email="$opt_user\@mysql.com";
chomp($pwd = `pwd`); chomp($pwd = `pwd`);
$VER= `basename $opt_distribution`; chop $VER; $VER= basename($opt_distribution);
$VER=~ /mysql.*-([1-9]\.[0-9]{1,2}\.[0-9]{1,2}.*)\.tar*/; $version=$1; $VER=~ /mysql.*-([1-9]\.[0-9]{1,2}\.[0-9]{1,2}.*)\.tar*/; $version=$1;
($major, $minor, $release) = split(/\./,$version); ($major, $minor, $release) = split(/\./,$version);
$log="$pwd/Logs/$host-$major.$minor$opt_version_suffix.log"; $log="$pwd/Logs/$host-$major.$minor$opt_version_suffix.log";
...@@ -110,7 +112,7 @@ if (defined($gcc_version) && ! $opt_config_env) ...@@ -110,7 +112,7 @@ if (defined($gcc_version) && ! $opt_config_env)
$new_opt_tmp=0; $new_opt_tmp=0;
if ($opt_tmp) if ($opt_tmp)
{ {
if (! -d $opt_tmp) unless (-d $opt_tmp)
{ {
safe_system("mkdir $opt_tmp"); safe_system("mkdir $opt_tmp");
$new_opt_tmp=1; $new_opt_tmp=1;
......
...@@ -442,11 +442,12 @@ fi ...@@ -442,11 +442,12 @@ fi
[ "$RBR" != "/" ] && [ -d $RBR ] && rm -rf $RBR; [ "$RBR" != "/" ] && [ -d $RBR ] && rm -rf $RBR;
%files server %files server
%defattr(755 root, root) %defattr(-,root,root,0755)
%doc %attr(644, root, root) COPYING README %doc COPYING README
%doc %attr(644, root, root) Docs/manual.{html,ps,texi,txt} Docs/manual_toc.html %doc Docs/manual.{html,ps,texi,txt}
%doc %attr(644, root, root) support-files/my-*.cnf %doc Docs/manual_toc.html
%doc support-files/my-*.cnf
%doc %attr(644, root, root) %{_infodir}/mysql.info* %doc %attr(644, root, root) %{_infodir}/mysql.info*
...@@ -498,6 +499,7 @@ fi ...@@ -498,6 +499,7 @@ fi
%attr(755, root, root) %{_datadir}/mysql/ %attr(755, root, root) %{_datadir}/mysql/
%files client %files client
%defattr(-, root, root, 0755)
%attr(755, root, root) %{_bindir}/msql2mysql %attr(755, root, root) %{_bindir}/msql2mysql
%attr(755, root, root) %{_bindir}/mysql %attr(755, root, root) %{_bindir}/mysql
%attr(755, root, root) %{_bindir}/mysql_find_rows %attr(755, root, root) %{_bindir}/mysql_find_rows
...@@ -525,7 +527,7 @@ fi ...@@ -525,7 +527,7 @@ fi
/sbin/ldconfig /sbin/ldconfig
%files devel %files devel
%defattr(644 root, root) %defattr(-, root, root, 0755)
%attr(755, root, root) %{_bindir}/comp_err %attr(755, root, root) %{_bindir}/comp_err
%attr(755, root, root) %{_bindir}/mysql_config %attr(755, root, root) %{_bindir}/mysql_config
%dir %attr(755, root, root) %{_includedir}/mysql %dir %attr(755, root, root) %{_includedir}/mysql
...@@ -546,11 +548,12 @@ fi ...@@ -546,11 +548,12 @@ fi
%{_libdir}/mysql/libvio.a %{_libdir}/mysql/libvio.a
%files shared %files shared
%defattr(755 root, root) %defattr(-, root, root, 0755)
# Shared libraries (omit for architectures that don't support them) # Shared libraries (omit for architectures that don't support them)
%{_libdir}/*.so* %{_libdir}/*.so*
%files bench %files bench
%defattr(-, root, root, 0755)
%attr(-, root, root) %{_datadir}/sql-bench %attr(-, root, root) %{_datadir}/sql-bench
%attr(-, root, root) %{_datadir}/mysql-test %attr(-, root, root) %{_datadir}/mysql-test
%attr(755, root, root) %{_bindir}/mysqlmanager %attr(755, root, root) %{_bindir}/mysqlmanager
...@@ -558,15 +561,21 @@ fi ...@@ -558,15 +561,21 @@ fi
%attr(755, root, root) %{_bindir}/mysqlmanagerc %attr(755, root, root) %{_bindir}/mysqlmanagerc
%files Max %files Max
%defattr(-, root, root, 0755)
%attr(755, root, root) %{_sbindir}/mysqld-max %attr(755, root, root) %{_sbindir}/mysqld-max
%attr(644, root, root) %{_libdir}/mysql/mysqld-max.sym %attr(644, root, root) %{_libdir}/mysql/mysqld-max.sym
%files embedded %files embedded
%defattr(-, root, root, 0755)
%attr(644, root, root) %{_libdir}/mysql/libmysqld.a %attr(644, root, root) %{_libdir}/mysql/libmysqld.a
# The spec file changelog only includes changes made to the spec file # The spec file changelog only includes changes made to the spec file
# itself # itself
%changelog %changelog
* Fri Dec 13 2003 Lenz Grimmer <lenz@mysql.com>
- fixed file permissions (BUG 1672)
* Thu Dec 11 2003 Lenz Grimmer <lenz@mysql.com> * Thu Dec 11 2003 Lenz Grimmer <lenz@mysql.com>
- made testing for gcc3 a bit more robust - made testing for gcc3 a bit more robust
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment