mock -r centos-stream-8-x86_64 --spec ./SPECS/new-package.spec --sources ./SOURCES is simpler.
mock -r centos-stream-8-x86_64 --spec ./SPECS/new-package.spec --sources ./SOURCES
Good call!
mock -r centos-stream-8-x86_64 --sources ./SOURCES --spec ./SPECS/*.spec is even more generic, for the same context ;)
mock -r centos-stream-8-x86_64 --sources ./SOURCES --spec ./SPECS/*.spec
@malmond Mock can't do multiple spec files, so you need to specify a spec file. :wink:
There should be only one (spec file) so this shell level expansion should do the right thing.
rebased onto a1bcad3f11a535d14eeda3279415382f74406def
I changed the rest of the command examples to use block quotes, and used the $ prefix convention to show these are commands to be run.
$
Pull-Request has been merged by dcavalca