Confirmed users
1,018
edits
No edit summary |
m (→Build a .src.rpm: tweak to make more copy/paste friendly) |
||
| Line 17: | Line 17: | ||
Edit the spec file to your heart's content. To actually build the .src.rpm: | Edit the spec file to your heart's content. To actually build the .src.rpm: | ||
$ mock -r puppetagain-centos6-64 --buildsrpm --spec /path/to/spec | $ mock -r puppetagain-centos6-64 --buildsrpm --sources $PWD --spec /path/to/spec | ||
The script output will tell you where the SRPM is. Copy it somewhere else, or mock will delete it in the next step. | The script output will tell you where the SRPM is. Copy it somewhere else, or mock will delete it in the next step. | ||