canmove, Confirmed users
1,394
edits
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
Edit the spec file to your heart's content. To build an RPM, you'll need to stop off at an SRPM: | Edit the spec file to your heart's content. To build an RPM, you'll need to stop off at an SRPM: | ||
mock --buildsrpm --spec /path/to/spec --sources $PWD | mock --buildsrpm --spec /path/to/spec --sources $PWD | ||
The script output will tell you where the SRPM is. Then build the SRPM into an RPM: | The script output will tell you where the SRPM is. Copy it somewhere else, or mock will delete it. Then build the SRPM into an RPM: | ||
run mock --rebuild /path/to/srpm | run mock --rebuild /path/to/srpm | ||