|
|
de99fd1 |
For KOJI, see:
|
|
|
de99fd1 |
|
|
|
de99fd1 |
https://fedoraproject.org/wiki/Infrastructure/Kerberos?rd=Infrastructure_kerberos_authentication
|
|
|
de99fd1 |
|
|
|
ba73a2b |
Fixing Fedora:
|
|
|
ba73a2b |
|
|
|
ba73a2b |
- install fedora-packager
|
|
|
ba73a2b |
|
|
|
9d4d64a |
For a local build:
|
|
|
9d4d64a |
|
|
|
9d4d64a |
$ fedpkg compile
|
|
|
ba73a2b |
|
|
|
ba73a2b |
To do a scratch build:
|
|
|
ba73a2b |
|
|
|
ba73a2b |
$ fedpkg srpm
|
|
Andrew Cagney |
9779830 |
$ fedpkg scratch-build --srpm BLAH.src.rpm
|
|
|
ba73a2b |
|
|
|
ba73a2b |
if you get this:
|
|
|
ba73a2b |
|
|
|
ba73a2b |
$ fedpkg scratch-build ...
|
|
|
ba73a2b |
Could not execute scratch_build: [('SSL routines', 'SSL3_READ_BYTES', 'sslv3 alert certificate expired'), ('SSL routines', 'SSL3_READ_BYTES', 'ssl handshake failure')]
|
|
|
ba73a2b |
|
|
|
ba73a2b |
try this:
|
|
|
ba73a2b |
|
|
|
ba73a2b |
$ fedora-cert
|
|
|
ba73a2b |
Certificate has expired, getting a new one
|
|
|
ba73a2b |
FAS Password:
|
|
|
ba73a2b |
|
|
|
ba73a2b |
|
|
|
ba73a2b |
|
|
|
ba73a2b |
|
|
|
ba73a2b |
|
|
|
ba73a2b |
|
|
|
ba73a2b |
|
|
|
7485d5c |
Updating the frysk rpm in Fedora (by Sami)
|
|
|
7485d5c |
|
|
|
7485d5c |
Before doing this make sure you have a fedora account and that your
|
|
|
7485d5c |
environment has been set up by following the instructions described
|
|
|
7485d5c |
here:
|
|
|
7485d5c |
|
|
|
7485d5c |
http://fedoraproject.org/wiki/PackageMaintainers/Join
|
|
|
7485d5c |
|
|
|
7485d5c |
- Check out frysk cvs modules (You probably already did this if you
|
|
|
7485d5c |
have followed the instructions above) But anyhow follow how to set
|
|
|
7485d5c |
up fedora cvs.
|
|
|
7485d5c |
|
|
|
7485d5c |
- If a tarball has not already been created, follow the instructions
|
|
|
7485d5c |
on the release page:
|
|
|
7485d5c |
|
|
|
7485d5c |
http://sourceware.org/frysk/releases/
|
|
|
7485d5c |
|
|
|
7485d5c |
- Move the created tarball into the frysk cvs directory for distro you
|
|
|
7485d5c |
want to update; for example, for f8 move the tarball to frysk/F-8
|
|
|
7485d5c |
|
|
|
7485d5c |
- Run make new-sources FILES=frysk-0.4.tar.bz2
|
|
|
7485d5c |
|
|
|
7485d5c |
This will upload the tarball to koji so you dont need to upload this
|
|
|
7485d5c |
tarball again.
|
|
|
7485d5c |
|
|
|
7485d5c |
It will also update the sources file to point to the newly uploaded
|
|
|
7485d5c |
tarball.
|
|
|
7485d5c |
|
|
|
7485d5c |
- Edit spec file updating:
|
|
|
7485d5c |
|
|
|
7485d5c |
* version
|
|
|
7485d5c |
* release
|
|
|
7485d5c |
* Changelog
|
|
|
7485d5c |
* dependencie's versions
|
|
|
7485d5c |
* etc
|
|
|
7485d5c |
|
|
|
7485d5c |
- Clean up patches which have been pushed upstream
|
|
|
7485d5c |
|
|
|
7485d5c |
* Remove the patch from cvs
|
|
|
7485d5c |
* delete the patch from the spec file
|
|
|
7485d5c |
|
|
|
7485d5c |
- Do a local build with
|
|
|
7485d5c |
|
|
|
7485d5c |
make local
|
|
|
7485d5c |
|
|
|
7485d5c |
(fix build problems)
|
|
|
7485d5c |
|
|
|
7485d5c |
- cvs remove/add files then build/commit:
|
|
|
7485d5c |
|
|
|
7485d5c |
make clog
|
|
|
7485d5c |
cvs commit
|
|
|
7485d5c |
make tag
|
|
|
7485d5c |
make build
|
|
|
7485d5c |
|
|
|
7485d5c |
This should kick off the koji build always make sure that devel is
|
|
|
7485d5c |
newer or as new as the other releases.
|
|
|
7485d5c |
|
|
|
7485d5c |
You can now go to the koji webpage to watch the build at:
|
|
|
7485d5c |
|
|
|
7485d5c |
http://koji.fedoraproject.org/koji/
|
|
|
7485d5c |
|
|
|
7485d5c |
also koji will output the specific url to command line you can view
|
|
|
7485d5c |
the output through the web page or using:
|
|
|
7485d5c |
|
|
|
7485d5c |
koji watch-logs <ID>
|
|
|
7485d5c |
|
|
|
7485d5c |
- When the build is done you will be notified
|
|
|
7485d5c |
|
|
|
7485d5c |
If the build fails fix it, create a patch and try again other wise
|
|
|
7485d5c |
you are done and must now create an update using the rpm you have
|
|
|
7485d5c |
built.
|
|
|
7485d5c |
|
|
|
7485d5c |
- Go to:
|
|
|
7485d5c |
|
|
|
7485d5c |
https://admin.fedoraproject.org/updates/frysk
|
|
|
7485d5c |
|
|
|
7485d5c |
Click on 'New Update' and push the rpm to the appropriate
|
|
|
7485d5c |
distros(f7,f8)/repos(stable/testing).
|
|
|
7485d5c |
|
|
|
7485d5c |
Comments welcome
|