Using OSC to create RPMs from multiple SRPMs?

Folks,

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.

Thanks.


osc importsrcpkg

Thank you. I was able to import them using “osc importscrpkg” and another script I found here: https://en.opensuse.org/openSUSE:Build_Service_private_instance_software_delivery.