<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>think-t</author_name>
  <author_url>https://blog.hatena.ne.jp/think-t/</author_url>
  <blog_title>think-t の晴耕雨読</blog_title>
  <blog_url>https://think-t.hatenablog.com/</blog_url>
  <categories>
    <anon>Linux</anon>
    <anon>RPM</anon>
    <anon>TIPS</anon>
  </categories>
  <description>たまにRPMをビルドしたくなることがあるのですが、 毎回一般ユーザー用のビルド環境を用意するのは面倒だなと思っていました。 今日はちょっとしたスクリプトを書いてみたので公開します。 実行したユーザーのホームディレクトリにRPMビルド用の環境を作り、「.rpmmacros」ファイルを作成します。 ※「.rpmmacros」ファイルが既に存在する場合は上書きしますので使う場合はご注意下さい。 #!/bin/sh # Author : think-t # Blog : http://d.hatena.ne.jp/think-t RPM_DIR=$HOME/RPM mkdir -p $RPM_DIR/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthink-t.hatenablog.com%2Fentry%2F20110625%2Fp1&quot; title=&quot;RPMビルド環境を作るスクリプト - think-t の晴耕雨読&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-06-25 00:00:00</published>
  <title>RPMビルド環境を作るスクリプト</title>
  <type>rich</type>
  <url>https://think-t.hatenablog.com/entry/20110625/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
