Confirmed users
18
edits
No edit summary |
No edit summary |
||
| Line 49: | Line 49: | ||
* Execute these steps to build: | * Execute these steps to build: | ||
<pre> | <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 | $ rm -rf /var/cache/mock/epel-6-x86_64/ccache | ||
</pre> | </pre> | ||
The script will tell you where the results are available. | The script will tell you where the results are available. | ||
Use '-r puppetagain-centos6-32' instead to build a 32-bit package. | 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 == | == Other Dependencies == | ||