{"id":520,"date":"2015-10-31T12:07:14","date_gmt":"2015-10-31T17:07:14","guid":{"rendered":"http:\/\/www.virtualroadside.com\/blog\/?p=520"},"modified":"2015-10-31T12:07:14","modified_gmt":"2015-10-31T17:07:14","slug":"download-and-unpack-source-rpm-in-one-command","status":"publish","type":"post","link":"http:\/\/www.virtualroadside.com\/blog\/index.php\/2015\/10\/31\/download-and-unpack-source-rpm-in-one-command\/","title":{"rendered":"Download and unpack source RPM in one command"},"content":{"rendered":"<p>One thing I constantly find myself doing when developing GTK on python is referring to the C source code to figure out just exactly why it&#8217;s doing the things that it does. It&#8217;s easier to just download the source package from my distro instead of finding the upstream source repository.. etc etc etc. Of course, downloading and unpacking an RPM is magic that I always seem to forget.<\/p>\n<p>Here&#8217;s a script that does it all in one swoop.<\/p>\n<p><script src=\"https:\/\/gist.github.com\/virtuald\/6b86f1c09cf06cf542e3.js\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>One thing I constantly find myself doing when developing GTK on python is referring to the C source code to figure out just exactly why it&#8217;s doing the things that it does. It&#8217;s easier to just download the source package from my distro instead of finding the upstream source repository.. etc etc etc. Of course, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/520"}],"collection":[{"href":"http:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=520"}],"version-history":[{"count":2,"href":"http:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/520\/revisions"}],"predecessor-version":[{"id":522,"href":"http:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/520\/revisions\/522"}],"wp:attachment":[{"href":"http:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=520"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}