#29 Fix command line example for building a package locally
Merged by dcavalca. Opened by malmond.
centos-sig-hyperscale/ malmond/sig localbuild  into  main

Download 29.patch
no initial comment

mock -r centos-stream-8-x86_64 --spec ./SPECS/new-package.spec --sources ./SOURCES is simpler.

Good call!

mock -r centos-stream-8-x86_64 --sources ./SOURCES --spec ./SPECS/*.spec is even more generic, for the same context ;)

@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

Metadata