--
RPM Guide (Fedora Draft Documentation)の Chapter 16. Programming RPM with Pythonにある例が、いくつかそのままでは動かなくなっているので修正例を提示します。