ãã¾ã¾ã§ãrpmbuildããã¨ãã« mkdir -p ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS} ãã¦ã echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros ã¨ããã£ã¦ããã ãã©ãããã¯ããå¤ããããã % yum install rpmdevtools % rpmdev-setuptree ããã¨ãä¸è¨ã®ä¸¡æ¹ããã£ã¦ãããã®ã«å ã㦠.rpmmacrosã«ä¸¦åå¦çè¨å®ã追å ãã¦ãããã ãããªæã %_topdir %(echo $HOME)/rpmbuild %_smp_mflags %( \ [ -z "$RPM_BUILD_NCPUS" ] \\\ && RPM_BUILD_NCPUS="`/usr/bin/nproc 2>/dev/null || \\\ /u
{{#tags}}- {{label}}
{{/tags}}