This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
developer:sign_your_rpm [2018/11/03 10:38]
Stephane de Labrusse
developer:sign_your_rpm [2019/01/23 20:09] (current)
Dan Brown Specify location for mock configuration
Line 146: Line 146:
 </​file>​ </​file>​
 ===Sign with mock=== ===Sign with mock===
-Mock could sign your rpm for you, add to the arch confifuration+Mock can sign your rpm for you.  To enable this, add the following to ''​~/​.mock/​user.cfg'':​
 <​file>​ <​file>​
 config_opts['​plugin_conf'​]['​sign_enable'​] = True config_opts['​plugin_conf'​]['​sign_enable'​] = True
 config_opts['​plugin_conf'​]['​sign_opts'​] = {} config_opts['​plugin_conf'​]['​sign_opts'​] = {}
-config_opts['​plugin_conf'​]['​sign_opts'​]['​cmd'​] = 'rpmsign'+config_opts['​plugin_conf'​]['​sign_opts'​]['​cmd'​] = 'rpm'
 config_opts['​plugin_conf'​]['​sign_opts'​]['​opts'​] = '​--addsign %(rpms)s'​ config_opts['​plugin_conf'​]['​sign_opts'​]['​opts'​] = '​--addsign %(rpms)s'​
 </​file>​ </​file>​