Ticket #123 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

Make RPMBUILD_IS* available in Python


Reported by: scop Assigned to: RpmTickets Priority: minor Milestone:
Component: rpm Version: RPM Development Keywords: Cc:


Description

It'd be nice to have RPMBUILD_IS* constants from rpmspec.h available in Python for examining source flags from rpm.spec.sources().

Change History

03/24/10 08:29:35 changed by pmatilai

  • status changed from new to closed.
  • resolution set to fixed.

Added now: https://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=ee98a373cf79d3248122ae147d98ac461d59c9b7

I seem to recall not adding these with the intent of adding a saner way to access sources/patches etc to the bindings instead, but otoh this permits implementing some nicer spec method from python instead of C. I'll try to remember to pull this into 4.8.x branch too.