031387
Upstream chooses to install INFO_SRC and INFO_BIN into the docs dir, which
031387
breaks at least two packaging commandments, so we put them into $libdir
031387
instead.  That means we have to hack the file_contents regression test
031387
to know about this.
031387
031387
Recommendation they change is at http://bugs.mysql.com/bug.php?id=61425
031387
031387
0012fd
diff -up mariadb-5.5.34/mysql-test/t/file_contents.test.p10 mariadb-5.5.34/mysql-test/t/file_contents.test
0012fd
--- mariadb-5.5.34/mysql-test/t/file_contents.test.p10	2013-11-20 13:28:56.000000000 +0100
0012fd
+++ mariadb-5.5.34/mysql-test/t/file_contents.test	2013-11-22 08:50:30.244702013 +0100
031387
@@ -32,6 +32,15 @@ if ($dir_bin eq '/usr/') {
031387
     # RedHat/Debian: version number in directory name
031387
     $dir_docs = glob "$dir_docs/mariadb-server-*";
031387
     $dir_docs = glob "$dir_docs/MySQL-server*" unless -d $dir_docs;
031387
+
031387
+    # All the above is entirely wacko, because these files are not docs;
031387
+    # they should be kept in libdir instead.  mtr does not provide a nice
031387
+    # way to find libdir though, so we have to kluge it like this:
031387
+    if (-d "/usr/lib64/mysql") {
031387
+       $dir_docs = "/usr/lib64/mysql";
031387
+    } else {
031387
+       $dir_docs = "/usr/lib/mysql";
031387
+    }
031387
   }
0012fd
   # Slackware
0012fd
   $dir_docs = glob "$dir_bin/doc/mariadb-[0-9]*" unless -d $dir_docs;