Using OSC to create RPMs from multiple SRPMs?


Do we have example of “batch” building RPMs from SRPM using osc - I have several SRPMs and I would like to rebuild RPMs from that but seems like I have to create packages for each of them. This can be really time consuming. Would be nice if this can be scripted somehow.

Any pointers greatly appreciated.


osc importsrcpkg

Thank you. I was able to import them using “osc importscrpkg” and another script I found here: