rdma-core/get_build.py

7 lines
104 B
Python
Raw Permalink Normal View History

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