{"id":6274,"date":"2020-01-19T20:02:10","date_gmt":"2020-01-19T12:02:10","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6274"},"modified":"2020-01-21T16:30:52","modified_gmt":"2020-01-21T08:30:52","slug":"rpmbuild","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/rpmbuild","title":{"rendered":"rpmbuild\u547d\u4ee4 – \u521b\u5efa\u8f6f\u4ef6\u5305"},"content":{"rendered":"\n

rpmbuild\u547d\u4ee4\u88ab\u7528\u4e8e\u521b\u5efarpm\u7684\u4e8c\u8fdb\u5236\u8f6f\u4ef6\u5305\u548c\u6e90\u7801\u8f6f\u4ef6\u5305\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>rpmbuild [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-ba<\/td>\u521b\u5efa\u4e8c\u8fdb\u5236\u548c\u6e90\u4ee3\u7801\u5305 <\/td><\/tr>
-bb <\/td>\u521b\u5efa\u4e8c\u8fdb\u5236\u4ee3\u7801\u5305 <\/td><\/tr>
-bs <\/td>\u521b\u5efa\u6e90\u4ee3\u7801\u5305 <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u5728\u6307\u5b9a\u8def\u5f84\u4e0b\u521b\u5efa\u4e8c\u8fdb\u5236\u548c\u6e90\u4ee3\u7801\u5305\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rpmbuild -ba \/usr\/src\/redhat\/RPMS\/i386<\/pre>\n","protected":false},"excerpt":{"rendered":"

rpmbuild\u547d\u4ee4\u88ab\u7528\u4e8e\u521b\u5efarpm\u7684\u4e8c\u8fdb\u5236\u8f6f\u4ef6\u5305\u548c\u6e90\u7801\u8f6f\u4ef6\u5305\u3002 \u8bed\u6cd5\u683c\u5f0f\uff1arpmbuild [\u53c2\u6570] \u5e38\u7528\u53c2 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6274"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=6274"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6274\/revisions"}],"predecessor-version":[{"id":6472,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6274\/revisions\/6472"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}