<!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">HAYASHI Kentaro <hayas****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2012-08-21 16:30:25 +0900 (Tue, 21 Aug 2012)</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/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea">0a9dded06dd9f6d2245441de94804a2da1371dea</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Log</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">yum: update the version of MeCab (0.98 -> 0.994)
refs #1455</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/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#diff-0">packages/yum/build-rpm.sh</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"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: packages/yum/build-rpm.sh (+8 -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"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L84">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L85">85</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L86">86</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L87">87</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L88">88</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L89">89</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L90">90</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L91">91</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L104">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L105">105</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L106">106</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L107">107</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L108">108</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L109">109</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L110">110</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L117">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L118">118</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L119">119</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L120">120</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L121">121</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L122">122</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L123">123</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L124">124</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L125">125</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0L126">126</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"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R84">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R85">85</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R86">86</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R87">87</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R88">88</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R89">89</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R90">90</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R91">91</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R92">92</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R105">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R106">106</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R107">107</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R108">108</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R109">109</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R110">110</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R111">111</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R112">112</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R113">113</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R114">114</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R121">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R122">122</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R123">123</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R124">124</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: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R125">125</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R126">126</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R127">127</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R128">128</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R129">129</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/0a9dded06dd9f6d2245441de94804a2da1371dea#L0R130">130</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"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -85,7 +85,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">if ! rpm -q mecab-devel > /dev/null; then</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> cat <<EOF > $BUILD_SCRIPT</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #!/bin/sh</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-base=http://download.fedoraproject.org/pub/fedora/linux/releases/15/Everything/source/SRPMS</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+base=http://download.fedoraproject.org/pub/fedora/linux/releases/17/Everything/source/SRPMS/m</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+update=http://download.fedoraproject.org/pub/fedora/linux/updates/17/SRPMS</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> srpm=\$1</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> cat <<EOM > ~/.rpmmacros</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -105,6 +106,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">mkdir -p dependencies/SRPMS</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mkdir -p tmp</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> cd tmp</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> wget \$base/\$srpm</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+if [ \$? -ne 0 ]; then</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ wget \$update/\$srpm</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+fi</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rpm2cpio \$srpm | cpio -id</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rm \$srpm</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mv *.spec ~/rpmbuild/SPECS/</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -118,9 +122,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">cp -p rpmbuild/SRPMS/*.rpm dependencies/SRPMS/</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> EOF</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> run chmod +x $BUILD_SCRIPT</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- for rpm in mecab-0.98-1.fc15.src.rpm \</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- mecab-ipadic-2.7.0.20070801-4.fc15.1.src.rpm \</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- mecab-jumandic-5.1.20070304-5.fc15.src.rpm; do</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ for rpm in mecab-0.994-1.fc17.src.rpm \</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ mecab-ipadic-2.7.0.20070801-5.fc17.1.src.rpm \</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ mecab-jumandic-5.1.20070304-6.fc17.src.rpm; do</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         run su - $USER_NAME $BUILD_SCRIPT $rpm</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         run rpm -Uvh /home/$USER_NAME/rpmbuild/RPMS/*/*.rpm</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> done</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>