How to build multiple src.rpm packages

402 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 answers

0
user94633 On

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

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