{"id":167,"date":"2011-04-19T10:53:27","date_gmt":"2011-04-19T02:53:27","guid":{"rendered":"http:\/\/www.321211.net\/wordpress\/?p=167"},"modified":"2011-04-19T10:53:27","modified_gmt":"2011-04-19T02:53:27","slug":"magic-%e9%a1%b9%e7%9b%ae%e4%b9%8b%e4%b8%80-rpmhelper","status":"publish","type":"post","link":"https:\/\/www.321211.xyz\/?p=167","title":{"rendered":"Magic \u9879\u76ee\u4e4b\u4e00 &#8211; rpmhelper"},"content":{"rendered":"<p>\u8fd9\u662f levindu \u5f00\u53d1\u7684\u4e00\u4e2a\u5904\u7406 rpm \u7684\u8f85\u52a9\u5de5\u5177\uff0c\u5f00\u53d1\u6bd4\u8f83\u6709\u7528\u3002\u76ee\u524d\u5df2\u505c\u6b62\u5f00\u53d1\uff0c\u4e0d\u8fc7\u4ecd\u7136\u591f\u7528\u4e86\u3002<\/p>\n<p>\u6211\u628a\u6e90\u7801\u4f20\u5230\u4e86 github \u4e0a\uff0c\u9879\u76ee\u5730\u5740\uff1ahttps:\/\/github.com\/MagicDev\/rpmhelper<\/p>\n<p>\u6b64\u8f6f\u4ef6\u5305\u5728 magic \u7cfb\u7edf\u5185\u7684\u540d\u5b57\u662f rpmhelper \uff0c\u76ee\u524d\u7684\u7248\u672c\u662f 0.02\u3002<\/p>\n<p>\u5728\u8bba\u575b\u4e0a\u7684\u7b80\u4ecb\uff1a<\/p>\n<blockquote><p>\u7b80\u4ecb<\/p>\n<p>rpmhelper \u662f\u4e3a\u4e86\u7ba1\u7406\u548c\u521b\u5efa rpm \u6587\u4ef6\u800c\u5199\u7684\u4e00\u7cfb\u5217\u5e93\u548c\u811a\u672c\u3002\u76ee\u524d\u5305\u542b\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p>* rpm-diff: \u6bd4\u8f83 rpm \u76ee\u5f55\u6216\u5217\u8868\u7684\u5dee\u5f02<br \/>\n* rpm-findold: \u5217\u51fa rpm \u76ee\u5f55\u6216\u5217\u8868\u4e2d\u7248\u672c\u8f83\u65e7\u7684 rpm \u5305\u540d\u79f0<br \/>\n* rpm-findnewest: \u5217\u51fa rpm \u76ee\u5f55\u6216\u5217\u8868\u4e2d\u7248\u672c\u6700\u65b0\u7684 rpm \u5305\u540d\u79f0<br \/>\n* rpm-parsespec: \u89e3\u6790 .spec \u6587\u4ef6\u5e76\u5217\u51fa\u67d0\u4e9b\u5b57\u6bb5\u548c\u503c<br \/>\n* mb-init: \u521d\u59cb\u5316 mgcbuilder \u73af\u5883<br \/>\n* mb-prepare: \u68c0\u67e5 .spec \u6587\u4ef6\u4e2d\u7684\u6e90\u7801\u548c\u8865\u4e01\u6587\u4ef6\u662f\u5426\u9f50\u5168\uff0c\u5e76\u81ea\u52a8\u4e0b\u8f7d\u6e90\u7801\u5305<br \/>\n* mb-build: \u7f16\u8bd1\u548c\u521b\u5efa rpm \u5305<br \/>\n* mb-pull-pkg: \u4ece\u670d\u52a1\u5668\u4e0a\u4e0b\u8f7d\u6e90\u7801\u5305<br \/>\n* mb-push-pkg: \u5c06\u6e90\u7801\u5305\u4e0a\u4f20\u5230\u670d\u52a1\u5668<br \/>\n* mb-fetch-fcpkg: \u4ece fedora \u955c\u50cf\u670d\u52a1\u5668\u4e0a\u4e0b\u8f7d .src.rpm \u5305<\/p>\n<p>mb-xxx \u662f\u4e3a\u4e86\u914d\u5408 Magic Linux \u7684 rpm subversion \u7ba1\u7406\u800c\u7f16\u5199\u7684\u3002<\/p><\/blockquote>\n<p>\u53ef\u60dc\u539f\u6765\u7684wiki\u6ca1\u6709\u4e86\u3002\u6211\u8bd5\u8bd5\u8fd8\u80fd\u4e0d\u80fd\u8bb0\u5f97\u600e\u4e48\u7528\u3002<\/p>\n<p>mb-*\u7cfb\u5217\u7684\u73b0\u5728\u6682\u65f6\u6ca1\u6709\u7528\u3002\u56e0\u4e3a\u670d\u52a1\u5668\u73af\u5883\u7684\u95ee\u9898\u3002<\/p>\n<p>rpm-*\u7cfb\u5217\u5e38\u7528\u7684\u5c31\u662frpm-diff \u548c rpm-findold\uff0c\u5904\u7406 iso \u7684\u65f6\u5019\u6bd4\u8f83\u65b9\u4fbf\u3002<\/p>\n<p>rpm-diff \u7684\u7528\u6cd5\u662f :<\/p>\n<p>rpm-diff {\u76ee\u5f551\u6216\u6587\u4ef6\u5217\u88681} {\u76ee\u5f552\u6216\u6587\u4ef6\u5217\u88682}\uff0c\u53ef\u4ee5\u7528rpm:\u6307\u5b9a\u4e3a\u7cfb\u7edf\u7684rpm\u5217\u8868\u3002<\/p>\n<p>\u8fd4\u56de\u4e00\u4e2a\u5217\u8868\uff0c\u6709\u56db\u79cd\u72b6\u6001\uff1aR\/N\/D\/U\uff0cR\u4ee3\u8868\u57281\u4e0d\u57282\u4e2d\u7684\uff0cN\u4ee3\u8868\u57282\u4e0d\u57281\u4e2d\u7684\uff0cD\u4ee3\u88682\u6bd41\u7248\u672c\u4f4e\uff0cU\u4ee3\u88682\u6bd41\u7248\u672c\u9ad8\uff0c\u5c31\u662f\u5206\u522b\u662f\u79fb\u9664\/\u65b0\u52a0\/\u964d\u7ea7\/\u5347\u7ea7\u3002\u53ef\u4ee5\u914d\u5408sort\/grep\/rpm\u7b49\u751f\u6210\u6bd4\u8f83\u65b9\u4fbf\u5904\u7406\u7684\u5217\u8868\u3002<\/p>\n<p>rpm-findold[newest]\u7684\u7528\u6cd5\u662frpm-findold {\u76ee\u5f55\u540d\u6216\u6587\u4ef6\u5217\u8868}\uff0c\u540c\u6837\u53ef\u4ee5\u7528rpm:\uff0c\u8fd4\u56de\u65e7\u7684\uff08\u6216\u65b0\u7684\uff09rpm\u6587\u4ef6\u5217\u8868\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u662f levindu \u5f00\u53d1\u7684\u4e00\u4e2a\u5904\u7406 rpm \u7684\u8f85\u52a9\u5de5\u5177\uff0c\u5f00\u53d1\u6bd4\u8f83\u6709\u7528\u3002\u76ee\u524d\u5df2\u505c\u6b62\u5f00\u53d1\uff0c\u4e0d\u8fc7\u4ecd\u7136\u591f\u7528\u4e86\u3002 \u6211\u628a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-167","post","type-post","status-publish","format-standard","hentry","category-magiclinux"],"_links":{"self":[{"href":"https:\/\/www.321211.xyz\/index.php?rest_route=\/wp\/v2\/posts\/167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.321211.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.321211.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.321211.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.321211.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=167"}],"version-history":[{"count":2,"href":"https:\/\/www.321211.xyz\/index.php?rest_route=\/wp\/v2\/posts\/167\/revisions"}],"predecessor-version":[{"id":169,"href":"https:\/\/www.321211.xyz\/index.php?rest_route=\/wp\/v2\/posts\/167\/revisions\/169"}],"wp:attachment":[{"href":"https:\/\/www.321211.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.321211.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.321211.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}