How to build multiple src.rpm packages

444 Views Asked by At

I want to build packages from http://ftp.redhat.com/redhat/linux/enterprise/7Server/en/SATELLITE/SRPMS/ but some of them have dependencies to each other. Is there any way to solve in what order should I build them? I am using mock for package building.

Thanks

2

There are 2 best solutions below

0
On

Just point mock to all packages. Mock solves it itself.

0
On
# dnf install mock
# mockchain --recurse *.src.rpm