ReleaseEngineering/PuppetAgain/HowTo/Build RPMs: Difference between revisions

Jump to navigation Jump to search
m
→‎Build a .src.rpm: tweak to make more copy/paste friendly
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 --sources $PWD
  $ 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.
Confirmed users
1,018

edits

Navigation menu