rpms/koji/FC-6 fedora-packager-setup.sh, NONE, 1.1 koji.spec, 1.1, 1.2 sources, 1.2, 1.3

Jesse Keating (jkeating) fedora-extras-commits at redhat.com
Mon Apr 9 17:39:16 UTC 2007


Author: jkeating

Update of /cvs/extras/rpms/koji/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6876

Modified Files:
	koji.spec sources 
Added Files:
	fedora-packager-setup.sh 
Log Message:
Port devel build to FC-6



--- NEW FILE fedora-packager-setup.sh ---
#!/bin/bash

echo Creating User Koji environment 
if [ ! -d ~/.koji ]; then
mkdir  ~/.koji
fi

if [ ! -f ~/.koji/client.crt ]; then
    if [ -f ~/.fedora.cert ]; then
        cp ~/.fedora.cert  ~/.koji/client.crt
    else
        echo "you need a client cert please download one from https://admin.fedoraproject.org/accounts/gen-cert.cgi"
        echo "Save it to ~/.koji/client.crt"
        echo "Then run this script again"
        exit
    fi
fi

if [ -f ~/.fedora-upload-ca.cert ]; then
    cp ~/.fedora-upload-ca.cert ~/.koji/clientca.crt
else
    wget "http://fedoraproject.org/wiki/PackageMaintainers/BuildSystemClientSetup?action=AttachFile&do=get&target=fedora-upload-ca.cert" -O ~/.koji/clientca.crt
fi

if [ -f ~/.fedora-server-ca.cert ]; then
    cp ~/.fedora-server-ca.cert ~/.koji/serverca.crt
else
    wget "http://fedoraproject.org/wiki/PackageMaintainers/BuildSystemClientSetup?action=AttachFile&do=get&target=fedora-server-ca.cert" -O ~/.koji/serverca.crt
fi


cat > ~/.koji/config <<EOF
[koji]

;configuration for koji cli tool

;url of XMLRPC server
server = http://koji.fedoraproject.org/kojihub

;url of web interface
weburl = http://koji.fedoraproject.org/koji

;path to the koji top directory
;topdir = /mnt/koji

;configuration for SSL athentication

;client certificate
cert = ~/.koji/client.crt

;certificate of the CA that issued the client certificate
ca = ~/.koji/clientca.crt

;certificate of the CA that issued the HTTP server certificate
serverca = ~/.koji/serverca.crt

EOF

echo "creating cert for import into browser to allow user authentication on the website.
Choose your own password,  you will be propmted for this when using the cert.

- import pkcs12 cert into Firefox:

Edit -> Preferences -> Advanced
Click "View Certificates"
On "Your Certificates" tab, click "Import"
Select fedora-client-cert.p12
Type the export password (if you specified one)
You should see your username appear under "Fedora Project"
 
- You should now be able to click the "login" link on the website successfully"
openssl pkcs12 -export -in ~/.koji/client.crt -CAfile ~/.koji/clientca.crt -out fedora-client-cert.p12


Index: koji.spec
===================================================================
RCS file: /cvs/extras/rpms/koji/FC-6/koji.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- koji.spec	2 Apr 2007 17:22:41 -0000	1.1
+++ koji.spec	9 Apr 2007 17:38:41 -0000	1.2
@@ -8,13 +8,14 @@
 %define release %{baserelease}
 %endif
 Name: koji
-Version: 1.0
+Version: 1.1
 Release: %{release}%{?dist}
 License: LGPL
 Summary: Build system tools
 Group: Applications/System
 URL: http://hosted.fedoraproject.org/projects/koji
 Source: %{name}-%{PACKAGE_VERSION}.tar.bz2
+Source1: fedora-packager-setup.sh
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
 Requires: python-krbV >= 1.0.13
@@ -89,6 +90,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
+install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -151,6 +153,12 @@
 fi
 
 %changelog
+* Mon Apr 09 2007 Jesse Keating <jkeating at redhat.com> 1.1-1
+- make the output listPackages() consistent regardless of with_dups
+- prevent large batches of repo deletes from holding up regens
+- allow sorting the host list by arches
+- Add a script to setup Fedora developer's environment
+
 * Mon Apr 02 2007 Jesse Keating <jkeating at redhat.com> 1.0-1
 - Release 1.0!
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/koji/FC-6/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	2 Apr 2007 17:22:41 -0000	1.2
+++ sources	9 Apr 2007 17:38:41 -0000	1.3
@@ -1 +1 @@
-509770ad9155722acf3baa4cb467c2b8  koji-1.0.tar.bz2
+9af35f955b1e806515e6e09c9f632eba  koji-1.1.tar.bz2




More information about the scm-commits mailing list