Changes

Jump to: navigation, search

ReleaseEngineering/PuppetAgain/HowTo/Build RPMs

375 bytes added, 19:01, 2 October 2014
no edit summary
* Execute these steps to build:
<pre>
$ mock --rebuild -r puppetagain-centos6-64 mozilla-python27-2.7.3-0.el6.src.rpm
$ rm -rf /var/cache/mock/epel-6-x86_64/ccache
$ mock --rebuild -r puppetagain-centos6-64 mozilla-python27-2.7.3-0.el6.src.rpm
</pre>
The script will tell you where the results are available.
Use '-r puppetagain-centos6-32' instead to build a 32-bit package.
 
If your build fails with something like "configure: error: cannot compute suffix of object files: cannot compile" in /var/lib/mock/epel-6-x86_64/result/build.log, it probably means that the last person to build an rpm didn't do the 'rm -rf' cleanup step. You'll need to do it as root:
 
<pre>
$ su -
(slave root password)
# rm -rf /var/cache/mock/epel-6-x86_64/ccache
</pre>
== Other Dependencies ==
Confirm
18
edits

Navigation menu