<!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 &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2012-07-29 00:05:27 +0900 (Sun, 29 Jul 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/mroonga/mroonga/commit/f08ff611b8eaaf3e5e630b7fe49e0bda1733aaf7">f08ff611b8eaaf3e5e630b7fe49e0bda1733aaf7</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, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em">yum: remove needless ad-hook Fedora &gt;= 16 support

Use Fedora 17 supportted rinse.
See https://www.gitorious.org/rinse/rinse/merge_requests/1</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li>packages/yum/build-in-chroot.sh</li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <div class="diff" style="margin-left: 1em; margin-right: 1em">
        <pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; 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-in-chroot.sh (+1 -23)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">--- packages/yum/build-in-chroot.sh    2012-07-29 00:02:02 +0900 (466170a)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+++ packages/yum/build-in-chroot.sh    2012-07-29 00:05:27 +0900 (406d08c)</span>
<span class="diff-line" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -60,19 +60,12 @@ build_chroot()</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">     fi</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">-    rinse_distribution_version=$distribution_version</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    if [ &quot;$distribution_name&quot; = &quot;fedora&quot; ]; then</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-        if [ $distribution_version -gt 16 ]; then</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-            rinse_distribution_version=16</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-        fi</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    fi</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     run_sudo mkdir -p ${base_dir}/etc/rpm</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     rpm_platform=${distribution_architecture}-${distribution}-linux</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     run_sudo sh -c &quot;echo ${rpm_platform} &gt; ${base_dir}/etc/rpm/platform&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     run_sudo rinse \</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         --arch $rinse_architecture \</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-        --distribution $distribution_name-$rinse_distribution_version \</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        --distribution $distribution_name-$distribution_version \</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         --directory $base_dir</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     run_sudo rinse --arch $rinse_architecture --clean-cache</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-line" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -83,21 +76,6 @@ build_chroot()</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     run_sudo mount ${base_dir}/dev</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     run_sudo mount ${base_dir}/dev/pts</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     run_sudo mount ${base_dir}/proc</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    if [ &quot;$distribution_name&quot; = &quot;fedora&quot; ]; then</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-        if [ $distribution_version -ge 16 ]; then</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-            yes | run_sudo su -c &quot;chroot ${base_dir} rpm --import https://fedoraproject.org/static/A82BA4B7.txt&quot;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-            run_sudo su -c &quot;chroot ${base_dir} yum -y update yum&quot;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-            run_sudo su -c &quot;chroot ${base_dir} yum -y clean all&quot;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-            run_sudo su -c &quot;chroot ${base_dir} yum -y --releasever=16 --disableplugin=presto distro-sync&quot;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-        fi</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-        if [ $distribution_version -ge 17 ]; then</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-            yes | run_sudo su -c &quot;chroot ${base_dir} rpm --import https://fedoraproject.org/static/1ACA3465.txt&quot;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-            run_sudo su -c &quot;chroot ${base_dir} yum -y update yum&quot;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-            run_sudo su -c &quot;chroot ${base_dir} yum -y clean all&quot;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-            run_sudo su -c &quot;chroot ${base_dir} yum -y --releasever=17 --disableplugin=presto distro-sync&quot;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-        fi</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; 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"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> build()</span>
</pre>
      </div>
    </div>
  </body>
</html>