$ su -c "yum install fedora-packager" 


Para poder autenticar via ssh con FAS.

$ fedora-packager-setup

y siga las instrucciones.

Certificado vencido

Síntoma de certificado vencido:

$ koji build --scratch rawhide SRPMS/rubygem-rhc-1.16.9-1.fc17.src.rpm 
Error: [('SSL routines', 'SSL3_READ_BYTES', 'sslv3 alert certificate expired'), ('SSL routines', 'SSL3_READ_BYTES', 'ssl handshake failure')]

Simplemente vuelva a ejectuar fedora-packager-setup.

$ fedora-packager-setup
Setting up Fedora packager environment
Certificate has expired, getting a new one
FAS Password: 
Saved: /home/gomix/.fedora-server-ca.cert
Setting up Browser Certificates
Enter Export Password:
Verifying - Enter Export Password:

Browser certificate exported to ~/fedora-browser-cert.p12
To import the certificate into Firefox:

Edit -> Preferences -> Advanced
Click "View Certificates" 
On "Your Certificates" tab, click "Import" 
Select ~/fedora-browser-cert.p12
Type the export passphrase you chose earlier

Once imported, you should see a certificate named "Fedora Project".
Your username should appear underneath this.

You should now be able to click the "login" link at http://koji.fedoraproject.org/koji/ successfully.

importing the certificate is optional and not needed for daily use.
you should also import the ca cert at ~/.fedora-upload-ca.cert

Scratch builds

$ koji build --scratch f16 SRPMS/rubygem-unicorn-4.1.1-1.fc16.src.rpm
$ koji build --scratch rawhide SRPMS/rubygem-kgio-2.7.0-1.fc16.src.rpm
$ koji build --scratch dist-5E-epel SRPMS/dhcp_probe-1.3.0-6.fc15.src.rpm 
$ koji build --scratch dist-f15 rubygem-rhc-0.71.2-1.fc15.src.rpm
$ koji build --arch x86_64 --scratch f17 /home/makerpm/rpmbuild/SRPMS/rubygem-raindrops-0.8.0-4.fc16.src.rpm


$ koji search package fwsnort

$ koji search package gnochm

$ koji search package gnoch*

$ koji search package *noch*

$ # koji search package *noc*

Viendo los logs

$ koji watch-logs  3783999
Watching logs (this may be safely interrupted)...
==> 3783999:build.log: <==
Mock Version: 1.1.18

==> 3783999:state.log: <==
2012-02-12 14:48:24,739 - Mock Version: 1.1.18
2012-02-12 14:48:24,757 - State Changed: running yum

==> 3783999:mock_output.log: <==
INFO: mock.py version 1.1.18 starting...
State Changed: init plugins
INFO: selinux disabled
State Changed: start
State Changed: lock buildroot
State Changed: clean
State Changed: unlock buildroot
State Changed: init
State Changed: lock buildroot
Mock Version: 1.1.18
INFO: Mock Version: 1.1.18
INFO: calling preinit hooks
State Changed: running yum

Especificando el log.

$ koji watch-logs --log=root.log 3783951
Watching logs (this may be safely interrupted)...
==> 3783951:root.log: <==
INFO backend.py:930:  Mock Version: 1.1.18
DEBUG backend.py:281:  rootdir = /var/lib/mock/f17-build-1266724-201685/root/
DEBUG backend.py:282:  resultdir = /var/lib/mock/f17-build-1266724-201685/result
INFO backend.py:285:  calling preinit hooks
DEBUG backend.py:454:  create skeleton dirs
DEBUG util.py:57:  ensuring that dir exists: /var/lib/mock/f17-build-1266724-201685/root/var/lib/rpm
DEBUG util.py:60:  creating dir: /var/lib/mock/f17-build-1266724-201685/root/var/lib/rpm
DEBUG util.py:57:  ensuring that dir exists: /var/lib/mock/f17-build-1266724-201685/root/var/lib/yum
DEBUG util.py:60:  creating dir: /var/lib/mock/f17-build-1266724-201685/root/var/lib/yum

koji list-tasks --mine

$ koji list-tasks --mine
ID    Pri  Owner        State    Arch       Name
4680550 20   gomix        CLOSED   noarch     build [buildvm-29.phx2.fedoraproject.org] rubygem-rhc-1.0.4-2.fc17
4680551 19   gomix        CLOSED   noarch      +buildSRPMFromSCM [buildvm-11.phx2.fedoraproject.org]
4680562 19   gomix        CLOSED   noarch      +buildArch [buildvm-11.phx2.fedoraproject.org]
4680574 19   gomix        CLOSED   noarch      +tagBuild [buildvm-08.phx2.fedoraproject.org]
4680554 20   gomix        OPEN     noarch     build [buildvm-25.phx2.fedoraproject.org] rubygem-rhc-1.0.4-2.fc18
4680559 19   gomix        CLOSED   noarch      +buildSRPMFromSCM [buildvm-29.phx2.fedoraproject.org]
4680570 19   gomix        OPEN     noarch      +buildArch [buildvm-07.phx2.fedoraproject.org]
4680560 20   gomix        OPEN     noarch     build [buildvm-19.phx2.fedoraproject.org] rubygem-rhc-1.0.4-2.fc19
4680561 19   gomix        CLOSED   noarch      +buildSRPMFromSCM [buildvm-25.phx2.fedoraproject.org]
4680575 19   gomix        OPEN     noarch      +buildArch [buildvm-10.phx2.fedoraproject.org]

Targets disponibles

$ koji list-targets
Name                           Buildroot                      Destination                   
dist-5E-epel                   dist-5E-epel-build             dist-5E-epel                  
dist-5E-epel-infra             dist-5E-epel-infra-build       dist-5E-epel-infra            
dist-5E-epel-testing-candidate dist-5E-epel-build             dist-5E-epel-testing-candidate
dist-6E-epel                   dist-6E-epel-build             dist-6E-epel                  
dist-6E-epel-testing-candidate dist-6E-epel-build             dist-6E-epel-testing-candidate
el5-candidate                  dist-5E-epel-build             dist-5E-epel-testing-candidate
el6-candidate                  dist-6E-epel-build             dist-6E-epel-testing-candidate
f16                            f16-build                      f16                           
f16-candidate                  f16-build                      f16-updates-candidate         
f17                            f17-build                      f17-updates-candidate         
f17-candidate                  f17-build                      f17-updates-candidate         
f17-kde                        f17-kde                        f17-kde                       
f18                            f18-build                      f18-updates-candidate         
f18-candidate                  f18-build                      f18-updates-candidate         
f18-gnome                      f18-gnome                      f18-gnome                     
f18-kde                        f18-kde                        f18-kde                       
f19                            f19-build                      f19                           
f19-candidate                  f19-build                      f19                           
rawhide                        f19-build                      f19                           
rawhide-repo-holder            rawhide                        rawhide