<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">Kouhei Sutou <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2015-12-16 22:57:06 +0900 (Wed, 16 Dec 2015)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1">19b8d85f1e143654c3cde8e4729f4341490809b1</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">package rpm: simplify</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3">packages/rpm/centos/mysql55-mroonga.spec.in</a></li>
<li><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0">packages/rpm/centos/mysql56-community-mroonga.spec.in</a></li>
<li><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041">packages/rpm/centos/percona-server-56-mroonga.spec.in</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: packages/rpm/centos/mysql55-mroonga.spec.in (+4 -4)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3L96">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3L97">97</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3L98">98</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3L99">99</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3L100">100</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3L101">101</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3L102">102</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3L103">103</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3L104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3L105">105</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3L106">106</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3R96">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3R97">97</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3R98">98</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3R99">99</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3R100">100</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3R101">101</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3R102">102</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3R103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3R104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3R105">105</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-296c034b7bfed2ee22379b52a23ef6c3R106">106</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -97,10 +97,10 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">rm -rf $RPM_BUILD_ROOT</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> %post</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mysql_command=`scl enable mysql55 'which mysql'`</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">-<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">pa</span>s<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">sw</span>o<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">r</span>d<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">_</span>o<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">p</span>ti<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">on=</span>"<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">"</span></span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">-<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">$mysql_command</span> <span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">-u</span> ro<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">o</span>t<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000"> -e "qu</span>i<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">t" > /dev/</span>n<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">ull 2>&1</span></span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">-<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">if [ $? -n</span>e<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000"> 0 ]; th</span>e<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">n</span></span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- <span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000"> </span>password_option="-p"</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">if $my</span>s<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">ql_c</span>o<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">mmand -u </span>ro<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">o</span>t<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000"> -e "qu</span>i<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">t" > /dev/</span>n<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">ull 2>&1; then</span></span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000"> pa</span>s<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">sw</span>o<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">r</span>d<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">_</span>o<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">p</span>ti<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">on=</span>"<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">"</span></span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+e<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">ls</span>e</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ password_option="-p"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> fi</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> current_version=0</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> version=`echo %{groonga_required_version} | sed -e 's/\.//g'`</span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: packages/rpm/centos/mysql56-community-mroonga.spec.in (+4 -4)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0L102">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0L103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0L104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0L105">105</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0L106">106</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0L107">107</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0L108">108</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0L109">109</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0L110">110</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0L111">111</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0L112">112</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0R102">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0R103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0R104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0R105">105</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0R106">106</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0R107">107</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0R108">108</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0R109">109</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0R110">110</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0R111">111</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-5eb9ae93df2b1c9a0cc6840ba1ed5dd0R112">112</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -103,10 +103,10 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">else</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> fi</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mysql_command=`which mysql`</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">-<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">pa</span>s<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">sw</span>o<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">r</span>d<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">_</span>o<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">p</span>ti<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">on=</span>"<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">"</span></span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">-<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">$mysql_command</span> <span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">-u</span> ro<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">o</span>t<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000"> -e "qu</span>i<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">t" > /dev/</span>n<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">ull 2>&1</span></span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">-<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">if [ $? -n</span>e<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000"> 0 ]; th</span>e<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">n</span></span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- <span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000"> </span>password_option="-p"</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">if $my</span>s<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">ql_c</span>o<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">mmand -u </span>ro<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">o</span>t<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000"> -e "qu</span>i<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">t" > /dev/</span>n<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">ull 2>&1; then</span></span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000"> pa</span>s<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">sw</span>o<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">r</span>d<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">_</span>o<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">p</span>ti<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">on=</span>"<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">"</span></span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+e<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">ls</span>e</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ password_option="-p"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> fi</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> current_version=0</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> version=`echo %{groonga_required_version} | sed -e 's/\.//g'`</span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: packages/rpm/centos/percona-server-56-mroonga.spec.in (+5 -3)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041L96">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041L97">97</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041L98">98</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041L99">99</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041L100">100</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041L101">101</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041L102">102</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041L103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041L104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041L105">105</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041R96">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041R97">97</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041R98">98</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041R99">99</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041R100">100</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041R101">101</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041R102">102</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041R103">103</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041R104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041R105">105</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041R106">106</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/19b8d85f1e143654c3cde8e4729f4341490809b1#diff-9de3b0f5c1a370ee1036c7e63901a041R107">107</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -97,9 +97,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">fi</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mysql_command=`which mysql`</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> password_option=""</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">-$mysql_command -u root -e "quit" > /dev/null 2>&1</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">-if [ $? -ne 0 ]; then</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- password_option="-p"</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+if $mysql_command -u root -e "quit" > /dev/null 2>&1; then</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ password_option=""</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+else</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ password_option="-p"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> fi</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> current_version=0</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> version=`echo %{groonga_required_version} | sed -e 's/\.//g'`</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>