This simply does the same thing as 'rpmspec -P' does. parsedspec = rpm.spec("foo.spec).parsed You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/186 -- Commit Summary -- * add a spec.parsed setter for retrieving parsed spec * apply some cosmetics, removing whitespace etc. -- File Changes -- M python/spec-py.c (40) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/186.patch https://github.com/rpm-software-management/rpm/pull/186.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/186
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint