From Fedora Project Wiki

(Created page with '== When == This package should get rebuilt shortly before alpha, beta and the release when there have been changes in spin kickstart files since the last build. An update should...')
 
No edit summary
Line 4: Line 4:


== How ==
== How ==
git clone ssh://git.fedorahosted.org/git/spin-kickstarts.git spin-kickstarts
 
* Get a checkout of the appropriate spin-kickstarts brnach
** <code>git clone ssh://git.fedorahosted.org/git/spin-kickstarts.git spin-kickstarts</code>
cd spin-kickstarts
cd spin-kickstarts
# If you need a specific branch other than master:
# If you need a specific branch other than master:

Revision as of 06:44, 8 June 2010

When

This package should get rebuilt shortly before alpha, beta and the release when there have been changes in spin kickstart files since the last build. An update should be done if there was a change shortly after a release. When spin-kickstarts is branched for a release, a new devel package should be built corresponding to the next Fedora release.

How

cd spin-kickstarts

  1. If you need a specific branch other than master:

git checkout BRANCHNAME

  1. Edit configure.ac to update the version or release
  2. Edit spin-kickstarts.spec.in to update the change log

aclocal automake autoconf ./configure make dist install -D -m 644 spin-kickstarts-*.tar.gz ~/rpmbuild/SOURCES

  1. Edit spin-kickstarts.spec if some changelog history needs to be included

install -D -m 644 spin-kickstarts.spec ~/rpmbuild/SPECS rpmbuild -ba ~/rpmbuild/SPECS/spin-kickstarts.spec

  1. If the sprm gets published then publish the tar.gz file on fedorahosted

scp spin-kickstarts-*.tar.gz fedorahosted.org:spin-kickstarts

  1. Clean up the generated files:

git clean

  1. To update a branch of spin-kickstarts
  2. Make sure the branch is current (cvs up)
  3. Copy over the new spec file
  4. In each branch run make new-sources FILES=/pathto/spin-kickstarts-*.tar.gz
  5. Commit the changes with cvs commit
  6. Make a new tag with make tag
  7. Do the build with make build