Skip to content

Commit bd7e5ab

Browse files
committed
Bug #18957951 RPMBUILD DEPENDENCY SCANNER ADDS DEPENDENCY ON NON-EXISTING PERL "HOSTNAMES"
When building RPMs and using the "rpmbuild" automatic scanning for Perl dependencies, it might interpret "use hostnames" in the "mysql_config.pl" script usage comment as a Perl "use" statement. And then makes the resulting RPMs depends on a non-existing module Perl "hostnames". The comment was changed to prevent this.
1 parent 821dfcd commit bd7e5ab

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/mysql_install_db.pl.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ Usage: $0 [OPTIONS]
6565
Read this file after the global files are read.
6666
--defaults-file=name Only read default options from the given file name.
6767
--force Causes mysql_install_db to run even if DNS does not
68-
work. In that case, grant table entries that normally
69-
use hostnames will use IP addresses.
68+
work. In that case, grant table entries that
69+
normally use hostnames will use IP addresses.
7070
--help Display this help and exit.
7171
--ldata=path The path to the MySQL data directory. Same as --datadir.
7272
--no-defaults Don't read default options from any option file.

scripts/mysql_install_db.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ Usage: $0 [OPTIONS]
4949
Read this file after the global files are read.
5050
--defaults-file=name Only read default options from the given file name.
5151
--force Causes mysql_install_db to run even if DNS does not
52-
work. In that case, grant table entries that normally
53-
use hostnames will use IP addresses.
52+
work. In that case, grant table entries that
53+
normally use hostnames will use IP addresses.
5454
--help Display this help and exit.
5555
--ldata=path The path to the MySQL data directory. Same as --datadir.
5656
--no-defaults Don't read default options from any option file.

0 commit comments

Comments
 (0)