rpmbuild ã§ãã¾ãrpm ãä½ããªãå ´åãªã©ï¼ rpmbuild ã®å¦çãéä¸ã§åãã¦åå ã調æ»ããããªããã¨ãããç¨ã«ããï¼
ãããªã¨ãã¯ï¼ãã¨ãã°ï¼specã®å 容ã«ãããã£ã¦ããããå½ã¦ããã¨ã®ã½ã¼ã¹ã確èªãããå ´åã¯
rpmbuild -bp hoge.spec
ã¨ããã°ããï¼
ã¾ã --short-circuit ãªãã·ã§ã³ã使ãã°ï¼buildéä¸ã®ãã¡ã¤ã«ãå©ç¨ãã¦ï¼æ®ãã®ä½æ¥ãåéã§ããï¼ãã¨ãã°ï¼-bp ã§ä¸æ¦æ¢ãã build ä½æ¥ãåéããã«ã¯
rpmbuild -bi --short-circuit hoge.spec
ã¨ããã°ããï¼
ä»¥ä¸ man rpmbuild ããæç²ï¼
-ba (%prep, %build, %install ãå®è¡ããå¾ã«) ãã¤ããªããã±ã¼ã¸ã¨ã½ã¼ã¹ããã±ã¼ã¸ããã«ãããã
-bb (%prep, %build, %install ãå®è¡ããå¾ã«) ãã¤ããªããã±ã¼ã¸ã ãã«ãããã
-bp spec ãã¡ã¤ã«ãã "%prep" 段éãå®è¡ãããé常ãã½ã¼ã¹ãå±éãããããé©ç¨ãããã¨ãæå³ããã
-bc (%prep ãå®è¡ããå¾ã«) spec ãã¡ã¤ã«ãã "%build" 段éãå®è¡ãããä¸è¬çã«ã¯ "make" ã¨ç価ã§ããã
-bi (%prep, %build ãå®è¡ããå¾ã«) spec ãã¡ã¤ã«ãã "%install" 段é ãå®è¡ãããä¸è¬çã«ã¯ "make install" ã¨ç価ã§ããã
-bl "list check" ãå®è¡ããã spec ãã¡ã¤ã«ã® "%files" ã»ã¯ã·ã§ã³ ã®ãã¯ããå±éãããåãã¡ã¤ã«ãåå¨ãããã®æ¤è¨¼ãããããã®ãã§ãã¯ãè¡ãããã