rdma-core/get_build.py

7 lines
104 B
Python

#!/usr/bin/python
import rpm
spec = rpm.spec("rdma-core.spec")
print '%s' % (getattr(spec, "build"),)