一般ユーザでRPMパッケージを作成するための設定 rpmbuildコマンドのオプション指定をエイリアスで分かりやすく 一般ユーザでRPMパッケージを作成するための設定通常、RPMパッケージをビルドする際には、 [/usr/src/rpm] -+- [SPECS] .specファイル +- [SOURCES] ソースやパッチ +- [BUILD] 作業ディレクトリ +- [SRPMS] ソースRPM +- [RPMS] パッケージRPMというディレクトリツリーを使用するのだが、これらのディレクトリはいずれも(手動でアクセス権を変更しない限り)管理者権限がないと書き込めない。しかし、RPMパッケージのビルド自体にはその権限は必要ないため、一般ユーザの権限でビルドを行い、これらのディレクトリに相当する別の場所に書き込めるようになっていると便利。 調べたところ、[ホームディレクトリ]/.rpmma