をインストールしている間、私はtar.gzファイルをダウンロードしたが、私はこのためにrpmbuildのエラーファイルは、私が<a href="https://github.com/dun/munge/wiki/Installation-Guide" rel="nofollow noreferrer">Munge installation guide</a>を、次の午前のmunge
自宅でsudo rpmbuild -tb --clean munge-0.5.12-11-g4699a9f.tar.gz
error: File /home/user1/Downloads/munge-0.5.12.tar.xz: No such file or directory
/rpmbuildののチュートリアルで説明したように3つの回転数のバイナリを作成することができません見つかりません。 /SPEC/munge.specが作成されます。しかし私はどこで編集するのか分からない。私はで、それは1がその答えに応じてそれを行う方法がわからないBUILDROOTディレクトリの場所を上書きすると言うThomas Dickeyによってthis questionに対する回答を参照し、我々は%を追加する必要があるので、私は大いに
同様にその%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
touch %{buildroot}/%{_sysconfdir}/munge/munge.key
touch %{buildroot}/%{_localstatedir}/lib/munge/munge.seed
touch %{buildroot}/%{_localstatedir}/log/munge/munged.log
touch %{buildroot}/%{_localstatedir}/run/munge/munged.pid
rm -f %{buildroot}/%{_sysconfdir}/sysconfig/munge
rm -f %{buildroot}/%{_initddir}/munge
に任意の助けをしたインストール感謝。