source: devel/pb-doc/NOTES

Last change on this file was 2084, checked in by bruno, 19 months ago
  • build and delivery directories renamed pbbuild and pbdelivery for consistency and to ease filtering (with git e.g.)
File size: 614 bytes
Line 
1gpg --armor --export bruno@mondorescue.org > RPM-GPG-KEY
2rpm --import RPM-GPG-KEY
3rpmmacros:
4%_signature gpg
5%_gpg_name FIXME@example.org
6rpm --resign pkg
7
8#!/usr/bin/expect -f
9# wrapper to make rpm --sign be non-interactive
10# passwd is 1st arg, file to sign is 2nd
11#send_user =AB$argv0 [lrange $argv 0 2]\n"=20
12#set files [lrange $argv 1 $argc ]
13
14set password [lindex $argv 0]
15set files [lrange $argv 1 1 ]
16spawn rpm --addsign $files
17expect "Enter pass phrase:"
18send -- "$password\r"
19expect eof
20
21echo "xxxxxxxx" | setsid rpm --addsign /users/bruno/mondo/svn/pbbuild/RPMS/x86_64/mindi-1.2.5-1.mdv2007.1.x86_64.rpm
Note: See TracBrowser for help on using the repository browser.